X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=demo%2FCSVEXAMPLE%2FREADME.md;fp=demo%2FCSVEXAMPLE%2FREADME.md;h=f39cd6fe72bcbb23889d6ed4cebb6b7dfd8a4196;hb=9fd1eb03e66522e79c94dec7ed26f68c17018fc1;hp=0000000000000000000000000000000000000000;hpb=9f18e8186cda2367942d12a9750e00880f6cd97e;p=com%2Fgs-lite.git diff --git a/demo/CSVEXAMPLE/README.md b/demo/CSVEXAMPLE/README.md new file mode 100644 index 0000000..f39cd6f --- /dev/null +++ b/demo/CSVEXAMPLE/README.md @@ -0,0 +1,17 @@ +This example demonstrates a query system reading from a file stream. + +gen_feed.py creates the file stream by replacing its contents +every second, checking first if the GS-lite instance has finished +processing the file. + +Additional features demonstrated: + - a reference to an interface set in example.gsql + - a reference to a library query in example2.gsql + - the output_spec.cfg has query example putting output on a stream, + while example2 periodically dumps output in files in directory output_dir + - The files in output_dir are in gdat format. Use gs-lite/bin/gdat2ascii + to extract their contents to ascii + - the runall script starts up query system, note the use of gsprintconsole + for both example and example2 + - the killall script ensures that gsprintconsole and gen_feed.py instances + are stopped.