LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

state machine Sub vi doesnot work

You still have a front panel Stop button. Unless you are showing the front panel of the subVI, there is no way for the subVI to stop and no way for the subVI to return anything at all to the main.

 

If you simply have a static reference to the subVI in your main, you will have to either call it a different way or you will have to modify the subVI and get rid of the front panel Stop.

Message 11 of 12
(557 Views)

I don't know all about your problem but if you really need to keep your state machine framework, use this simple method to stop it from caller :

 

StopFromCaller.jpg

 

allow to stop in local and from Caller

0 Kudos
Message 12 of 12
(534 Views)