LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

sequence structure plot

I am fairly new to Labview. I have a sequence structure (8 frames) inside a while loop. I want to plot an analog out that I update once in frame 2 and once in frame 4 to a new value. I've only been able to see the later value from frame 4. The while loop is indefinite and I just want to monitor the two states. What's the easiest way to do this? Thanks!
0 Kudos
Message 1 of 10
(3,670 Views)
Hi bjackson,

How you want to do that?
1) If you want to see 2 graphs, first for frame 2 and second for frame 4, create to graphs and put each terminal in correspondle frame.
2) If you want to see in one graph, so you need to make pause or request from user for stoping in each frame.
Message 2 of 10
(3,670 Views)
Thanks for your help. I wanted to see one graph, but I didn't want to pause the routine. I want to use the data in each frame to add to the graph after each iteration of the while loop. Thanks again.
0 Kudos
Message 5 of 10
(3,670 Views)
So you want collect all graphs and plot them? Your memory will crash quickly
0 Kudos
Message 6 of 10
(3,670 Views)
I just want to sample one pt. per iteration of the while loop for each frame in the inner sequence. Preferably in a circular buffer so that memory never becomes an issue.
0 Kudos
Message 8 of 10
(3,670 Views)
Look attached vi.
0 Kudos
Message 9 of 10
(3,670 Views)
> I just want to sample one pt. per iteration of the while loop for each
> frame in the inner sequence. Preferably in a circular buffer so that
> memory never becomes an issue.
>

If you don't already have a solution, drop a chart on your panel instead
of a graph. Charts collect data into a circular buffer automatically,
whereas graphs replace data each time they are written to. You can
write to the chart through either the terminal or a local variable to do
what you want.

Greg McKaskle
0 Kudos
Message 10 of 10
(3,670 Views)
Something like this?

Note: You may wanna modify the vi so that an array is initialised before hand should you know the no.of points to be updated.

have fun!

ian.f
sg/my
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 Kudos
Message 3 of 10
(3,670 Views)
Hello,

is it possible that I realize "Remotely Control LabView Over the Web" in
LabView6.0 ?

Thanks a lot!
0 Kudos
Message 4 of 10
(3,670 Views)
Hi, you need to ask this question as separate question.
0 Kudos
Message 7 of 10
(3,670 Views)