12-13-2012 01:17 PM
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?
12-13-2012 01:36 PM
Hey!
I'm not sure if that is possible. ![]()
Honestly, I didn't get what you need exactly. You need to "pause" one plot but not the other?
12-13-2012 02:04 PM
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".
12-13-2012 02:04 PM - edited 12-13-2012 02:19 PM
Here's what I had in mind (LabVIEW 8.2)
12-13-2012 03:24 PM
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
12-13-2012 04:35 PM
So, Yes, simply only implement the second iteration of the FOR loop, while graphing the first curve right away.