|
|
 | | From: | E.Lee | | Subject: | Re: waveform chart clears randomly | | Date: | Wed, 19 Jan 2005 17:10:54 -0600 (CST) |
|
|
 | Hello Dennis,
I'm glad to hear the chart does not reset anymore :)r> In regards to the drifting timestamps... One thing you could do is oc= casionally update the timestamp for the serial data. If the serial data is= lagging behind the data acquisition, just grab another timestamp using the= Get Date\Time in Seconds VI. If the serial data is ahead of the data acqu= isition, then it is a little trickier. We would have to decide what the fi= nal timestamp on the data should be, how many samples of data we want to pl= ace back on the chart, and then calculate what t0 is based on the previous = information (we would also have to save the chart history in the while loop= However, if you are also artificially creating the timestamps for the da= ta acquisition, we can just update the data acquisition timestamp if the se= rial data is outpacing the data acquisition. But like you said, it is ulti= mately up to the end user.
I hope everything turns out well!
= E.Lee Applications Engineer National Instruments
|
|
|