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

terminate state machine

Attachment is the simple state machine i did and for ur better understanding.
 
I have a state machine and which initially is at case "wait". After pressed the start button, it go to case "First" which sum the values and then got to case "Second" which subtract the values. And it will back to the wait again.
 
Wait i wish to is
1) I wish the state machine to stop after the case "Second" or after subtract the 2 values and switch on the LED (2nd Sequence) in the second flat sequence frame.
2) I only want the loop to run for one time only and do not repeat.
 
Thanks for ur help and time or reading.
0 项奖励
1 条消息(共 9 条)
3,757 次查看
Just send a TRUE to Loop Contition
2 条消息(共 9 条)
3,750 次查看

see the attached one. Is this what u want?

 

Thanks,

Mathan

3 条消息(共 9 条)
3,744 次查看
LOLz, tat easy.
 
Thanks ya.
0 项奖励
4 条消息(共 9 条)
3,739 次查看

Hi Mathan,

Is it possible to save the VI in labview 8.0 version

 

To Pnt,

I don think the way u suggest works. Or maybe i have some mistake.

I added a TRUE to stop the loop but it did not stop and continue back.

Thanks.

0 项奖励
5 条消息(共 9 条)
3,727 次查看


neiviv wrote:

Hi Mathan,
Is it possible to save the VI in labview 8.0 version


You don't need it. Pnt's solution is better because it does not use local variables.

neiviv wrote:
I added a TRUE to stop the loop but it did not stop and continue back.
Are you using the "continuous run" button to run the VI???   Don't!
 
Use the plain Run button!.
6 条消息(共 9 条)
3,706 次查看
icic. Thanks for ur explanation. Its my mistake.
 
Thanks you or the help.
0 项奖励
7 条消息(共 9 条)
3,698 次查看
wrong message..
just ignore..


Message Edited by Pnt on 04-26-2008 01:00 AM
0 项奖励
8 条消息(共 9 条)
3,664 次查看

Hai,

Here is what u asked in LV 8.0

Thanks,

Mathan

9 条消息(共 9 条)
3,607 次查看