[Kst] Real time monitoring

Barth Netterfield netterfield at astro.utoronto.ca
Mon Sep 13 18:05:41 CEST 2004


Hi,

Real time monitoring is one of our primary applications :-)

The data needs to be being logged to file which kst knows how to read.  ASCII 
columns is probably the easiest to get started, if the data rates aren't too 
huge.  There are other binary formats as well if you are interested.

Then, use kst to plot the relevant curves, reading to the end of the file.

So, for example, to plot cols 2 and 3 of the last 500 lines of the data file 
'data.dat', updated in real time, do

prompt% kst -y 2 -y 3 -n 500 -m 1 data.dat

You can also do this from the UI using the data wizard: check 'read to end'.

You can adjust the update rate in settings->configure kst.  I think that the 
default in 0.99 is 50ms, which is too fast.  If you see strange artifacts, 
slow it down to 1000ms and things will be happier.  These issues are 
(largely) fixed in CVS.

If you have troubles, let me know, and I can give you more detailed 
instructions....

cbn

On September 13, 2004 11:31 am, Alex Dubov wrote:
> Hello.
> I wonder, whether there are facilities for real-time
> data monitoring in kst? It seems that there are some
> provisions for data streaming, but documentation is
> very unclear.
> Currently, I have to set-up a temperature monitoring
> facility with few termometers and I want kst to
> display running plots of temperature in real time. Is
> it currently possible (and how)? If no, what shall be
> done to allow it? I have a decent programming
> background and I can probably implement all needed
> functionality, but there are no "TODO" items on this
> topic and documentation is incomplete.
> Thus, I decided to ask for your advice before starting
> the work. Sure enough, I'll submit all my work back to
> you (if I'll do something).
>
> Thanks ahead.
>
>
>
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - Send 10MB messages!
> http://promotions.yahoo.com/new_mail
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst



More information about the Kst mailing list