[Kst] Re: kst and data streams....

Brisset, Nicolas Nicolas.Brisset at eurocopter.com
Thu May 5 15:36:45 CEST 2011


I also had some issues in the past with files being rewritten from the
beginning (a simulation being restarted for instance): I have never done
it, but I wanted to add a check in update() that the file size is always
growing, which should be the case. And maybe also that the file has at
least the size of the already processed header. If it's not the case, we
could simply set something to invalid and wait until the size is big
enough to trigger a reset().

It would be cleaner and probably help in such cases.

The question is whether we could do it in a general way, or if each data
source has to handle it specifically (which I think is the case).

 

What I find interesting is that it seems loading matrices is working,
whereas Barth said the other day it's nbot yet supported with the kst2
ASCII datasource. So is it kst 1.x or 2.x? And how much work is it to
reactive loading ASCII matrices in kst 2.x?

 

Nicolas

 

________________________________

Von: Jimmy Paillet [mailto:jimmy.paillet at gmail.com] 
Gesendet: Donnerstag, 5. Mai 2011 15:01
An: kst at kde.org
Betreff: [Kst] kst and data streams....

 

Hello,

 

I haven't been able to find answers about this in the handbook.

 

In a file somewhere, I am dumping regurlarly a ascii matrix, this is
working 

great...kst update the plots and everything's fine...

 

Doing the same thing with ascii vectors (a file with several columns of
numbers, which is recreated periodically) is causing all sorts of
problems...

Plots are partially updated, or I get crashes

I guess the lack of header info is causing the problems.....

 

How should I tackle this, change the format?

 

Best regards,

Jimmy



Eurocopter Deutschland GmbH
Sitz der Gesellschaft/Registered Office: Donauwoerth
Registergericht/Registration Court: Amtsgericht Augsburg HRB 16508
Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Dr. Lutz Bertling
Geschaeftsfuehrung/Board of Management:
Dr. Wolfgang Schoder, Vorsitzender/CEO; Friedrich-Wilhelm Hormel; Ralf Barnscheidt

CONFIDENTIALITY NOTICE 

This communication and the information it contains is intended for the addressee(s) named above and for no other persons or organizations. It is confidential and may be legally privileged and protected by law. The unauthorized use, copying or disclosure of this communication or any part of it is prohibited and may be unlawful. 
If you have received this communication in error, kindly notify us by return e-mail and discard and/or delete the communication. Thank you very much. 
It is possible for e-mails to be intercepted or affected by viruses. Whilst we maintain virus checks on our e-mails, we accept no liability for viruses or other material which might be introduced with this message. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kst/attachments/20110505/dc0a1194/attachment.htm 


More information about the Kst mailing list