cancelar
Mostrando resultados para 
Pesquisar então 
Você quer dizer: 

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 Kudos
Mensagem 1 de 9
4.352Exibições
Just send a TRUE to Loop Contition
Mensagem 2 de 9
4.345Exibições

see the attached one. Is this what u want?

 

Thanks,

Mathan

Mensagem 3 de 9
4.339Exibições
LOLz, tat easy.
 
Thanks ya.
0 Kudos
Mensagem 4 de 9
4.334Exibições

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 Kudos
Mensagem 5 de 9
4.322Exibições


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!.
Mensagem 6 de 9
4.301Exibições
icic. Thanks for ur explanation. Its my mistake.
 
Thanks you or the help.
0 Kudos
Mensagem 7 de 9
4.293Exibições
wrong message..
just ignore..


Message Edited by Pnt on 04-26-2008 01:00 AM
0 Kudos
Mensagem 8 de 9
4.259Exibições

Hai,

Here is what u asked in LV 8.0

Thanks,

Mathan

Mensagem 9 de 9
4.202Exibições