[Kst] problem getting real-time graph running
dan_field at hotmail.com
Thu Oct 1 12:29:05 UTC 2015
Thanks for the reply Barth. After sending the original question, I have
been running many experiments and got to the point where the problem has
gone away and I can no longer reproduce it. Because I am launching both
a file filter process (powershell script) that produces the output file
consumed by kst and kst itself from an application program, it's
possible that there were some inter-process issues going on.
The data file is ascii, and as mentioned above, is being produced from a
powershell script that is essentially running a tail -f on the real data
file in order to create a csv-like file that can be consumed by kst.
The version is 2.0.8 obtained
fromhttp://sourceforge.net/projects/kst/files/ (windows installer).
Real time does work when running things manually, and does, in fact work
now in my automated environment with the powershell filter after the
experimentation above. I just don't understand why it wasn't working
before, and what I did to fix the problem.
In any case, thanks again for the reply.
BTW, do you know if there is an xml schema available for the kst files?
On 9/30/2015 8:53 AM, Barth Netterfield wrote:
> Hey, Dan,
> I'm not reproducing this, so I guess I need more details. So, a few questions:
> -what types of files are you reading?
> -how are you writing them?
> -what version of kst2 are you using (ie, where did you get it?)
> -does real time work for you when you first create the session (ie, not read
> from a .kst file?)
> On September 29, 2015 5:17:25 PM Dan Field wrote:
>> Hi All:
>> I am trying to start running a real-time graph via a Kst file (see
>> attached) and the command line (kst2 -F <datafilepath> <kstfilepath>).
>> When Kst starts, it certainly sees the session file as it loads the 3
>> plots, but they're empty even though the specified data file is being
>> actively written to. Interestingly though, if I open the data wizard
>> (but do nothing else), the plots become populated and actively start
>> adding live data as I expected to see right from the start. If I close
>> the data wizard, the plots no longer are added to. Opening the wizard
>> back up, the plots become live again.
>> Any ideas what I'm doing wrong? I've attached the session file. This
>> was created essentially by manually creating a session with the plots I
>> wanted and saving it.
>> Thanks in advance!
More information about the Kst