LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

exit subvi-chain

Hi,

I am writing an application that guides a user through a test procedure. During the test procedure the user is forced to do certain steps by user dialog messages. The test procedure is started with a 'Start Test' button on the GUI and initializes a chain of subVIs connected with error clusters to use the dataflow method. Each subVI is dedicated to a task. If the test fails in one of these tasks (=subVIs), I want the test procedure to stop. How can I get out of this chain of subVIs, or is there a better methodology to implement a test procedure like that.

Thanks

SDFlow
0 Kudos
Message 1 of 3
(2,614 Views)
What you want to use is a state machine. There are shipping examples (including a test sequencer) and there are some in the design patterns that you can see when you select File>New...
0 Kudos
Message 2 of 3
(2,609 Views)
Thanks, I used the state machine and it worked!!!
0 Kudos
Message 3 of 3
(2,587 Views)