[Kst] Real Time streaming with kst

Barth Netterfield netterfield at astro.utoronto.ca
Tue Oct 13 05:03:32 CEST 2009

kst assumes that you are looking at data that is being archived.

That being the case, during integration and testing, we do tend to delete old 
data off our disks once they are getting full (after backing it up, if we 
think we might want it later.)  This works fine for us: a serial port will 
take an awful long time to fill up a modern drive.

That being the case, I have sometimes thought about some sort of semi-
persistent data source, which only keeps data around over a window.  Shouldn't 
be too hard to write.  


On Sunday 11 October 2009 17:48:26 Jasem Mutlaq wrote:
> Hello,
> What are the possible options to stream an ASCII file to kst? I know of:
> $ kst -y 2 -n 100 data.txt
> Would read the "last" 100 lines of the file and watches it as it grows, but
> if the stream is always appended to the file, wouldn't you run out of the
> disk space eventually? I'm reading data from a serial port with a frequency
> of 5 Hz. Is there a way to watch if the content of a file has change and
> re-read the content from the beginning?
> Also, can you script kst from DBus? Finally, would really appreciate it if
> the documentation, especially on streaming, is updated.
> Best Regards,
> Jasem Mutlaq
> http://edu.kde.org/kstars
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst

More information about the Kst mailing list