LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Two plots on one graph....

Hi

 

I am running a project where I need to follow a plot on a graph. Currently both the plots are being plotted on the graph at the same time (i am using a waveform chart) so it is hard to follow as I have to anticipate where it will be next.What i would like to do is have the plot I want to follow already displayed on the graph and then as I run the VI the new plot is written in real time.

 

Is this possible?

0 Kudos
Message 1 of 6
(3,160 Views)

Hey!

 

I'm not sure if that is possible. Smiley Frustrated

Honestly, I didn't get what you need exactly. You need to "pause" one plot but not the other?

Mondoni
0 Kudos
Message 2 of 6
(3,156 Views)

You cannot use a chart for this.

 

Use a regular graph. Initialize a shift register with a 2D array of the final size, all with NaN.

Replace elements with real data as new values are acquired using "replace array subset".

0 Kudos
Message 3 of 6
(3,149 Views)

Here's what I had in mind (LabVIEW 8.2)

0 Kudos
Message 4 of 6
(3,149 Views)

Ok I will look into this way it looks like what I might need.

 

I will try to explain a bit more about what i am trying to achieve.

 

I have an array of numbers (say the size of the array is 3000 numbers), this is the waveform I want to be displayed perminantly on the graph from the beginning.

 

When I start the program I want it to start from the beginning and plot the values being recorded against the original plot. But as it is a large plot i dont want to display the whole thing at once i want it to scroll with time (iteration) therefore i was using a chart.

 

Thanks

0 Kudos
Message 5 of 6
(3,127 Views)

So, Yes, simply only implement the second iteration of the FOR loop, while graphing the first curve right away.

0 Kudos
Message 6 of 6
(3,115 Views)