ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Update Specific Waveform Plot

Solved!
Go to solution

Hi guys

Lets say we have an array of 3 waveforms wired to a waveform graph indicator. This will give us 3 separate plots on our waveform graph, as shown in the attached file.

My question is: how can I update or change the values of an individual plot without the need to update all of them? Basically, to specify a plot index and the new values, so that my indicator replots only plot number 3 for example? 

The reason why I don't want to replot all of them is because some of the waveforms are 1 million data points long, times that by 3- I need to replot 3 million points instead of only 1 million

0 Kudos
Message 1 of 3
(2,729 Views)
Solution
Accepted by topic author datatechNDT

Hi datatech,

 

how can I update or change the values of an individual plot without the need to update all of them?

Update that single plot, then BuildArray with the other unchanged plots…

 

The reason why I don't want to replot all of them is because some of the waveforms are 1 million data points long, times that by 3- I need to replot 3 million points instead of only 1 million

Decimate the amount of data to a reasonable amount.

It doesn't make sense to plot a million points in a graph of ~1000pixels width…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(2,721 Views)

That actually makes sense. I can create a function that plots enough points to approximate my dataset without the need to plot all of them.

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