1 This example demonstrates a query system reading from a file stream.
3 gen_feed.py creates the file stream by replacing its contents
4 every second, checking first if the GS-lite instance has finished
7 Additional features demonstrated:
8 - a reference to an interface set in example.gsql
9 - a reference to a library query in example2.gsql
10 - the output_spec.cfg has query example putting output on a stream,
11 while example2 periodically dumps output in files in directory output_dir
12 - The files in output_dir are in gdat format. Use gs-lite/bin/gdat2ascii
13 to extract their contents to ascii
14 - the runall script starts up query system, note the use of gsprintconsole
15 for both example and example2
16 - the killall script ensures that gsprintconsole and gen_feed.py instances