取消
显示结果 
搜索替代 
您的意思是: 

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 项奖励
1 条消息(共 10 条)
3,682 次查看
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.
2 条消息(共 10 条)
3,682 次查看
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 项奖励
5 条消息(共 10 条)
3,682 次查看
So you want collect all graphs and plot them? Your memory will crash quickly
0 项奖励
6 条消息(共 10 条)
3,682 次查看
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 项奖励
8 条消息(共 10 条)
3,682 次查看
Look attached vi.
0 项奖励
9 条消息(共 10 条)
3,682 次查看
> 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 项奖励
10 条消息(共 10 条)
3,682 次查看
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 项奖励
3 条消息(共 10 条)
3,682 次查看
Hello,

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

Thanks a lot!
0 项奖励
4 条消息(共 10 条)
3,682 次查看
Hi, you need to ask this question as separate question.
0 项奖励
7 条消息(共 10 条)
3,682 次查看