LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Waveform chart sometimes clears itself and looses history

I'm using a waveform chart to view a bunch of waveforms captured from NI-DAQmx.  Normally, the chart shows the waveforms nice and smoothly, but sometimes, it starts over for no apparent reason.  It's as if someone hit the "clear chart" button: the history gets blown away and it restarts drawing waveforms from the right.  What is causing this and how to I get it to stop?  I saw another post a while ago where someone had the same problem but I never saw a resolution.

 

0 Kudos
Message 1 of 3
(2,809 Views)

FYI, I was able to determine that a chart will apparently reset if you give it a waveform whose timestamp is <= the last waveform.

 

Now my problem is why I'm occasionally getting repeating or out-of-order timestamps.

 

0 Kudos
Message 2 of 3
(2,792 Views)

This apparently happens if the new data contains an older timestamp than the current data.

 

(This is just a stub pointing to your own solution so people no longer try to answer this one :)).

0 Kudos
Message 3 of 3
(2,790 Views)