LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Updating Waveform Charts

I use LV6.02 with Windows NT and 256Mb ram.
I cannot fix a problem with simple waveform charts: I can see the chart updating only if I display X-axis with maximum scale defined with Chart History Length (i.e. 0-1023 or 500-1523).
If I try to keep a smaller scale (i.e. 0-50) the chart do not show data over 50 and do not scroll.
This happens apparently randomly, even copying the same working chart from one VI to another. Sometimes it happens when I show Plot Legend, and disappear when I close it. What's wrong?
0 Kudos
Message 1 of 2
(2,691 Views)
It is possible that your update loop is rather fast or processor intensive. To stand a better chance of getting your graph updated, try right-clicking it and selecting Advanced>Synchronous Display. LabVIEW likes to take shortcuts whenever possible to keep its performance up with the background calculations and such. In doing so, it will not update the screen everytime data hits an indicator on the diagram. If it were to update on every single cycle you wouldn't notice it because it would be too fast. However, if you're keen on a particular indicator, make it Synchronous and see it update every time.

Dan
www.primetest.com
0 Kudos
Message 2 of 2
(2,691 Views)