From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I update a waveform chart with multiple plots one point at a time?

Hi,

 

I am updating multiple plots one point at a time.  That is, every time I update the chart I have a value for one of the plots.  If I put in a cluster with NaN for each of the charts except the one with the data I can only get individual points on the chart.  I would rather have them connected.

 

Any clues?  The only thing I can think of is to delay the update and do interpolation between samples - too complicated for me.

 

Thanks

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

Are the points within a given plot equally spaced in time?  If so, perhaps you need to maintain your own history of the data and used a waveform graph rewriting the history data to the graph each time.  If the points are unequally spaced, then you will need to do it as an XY graph.

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

Thanks Ravens Fan,

 

The points are not equally spaced.  I'll give the xy graph a try.

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