01-13-2010 04:39 PM
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.
01-14-2010 02:41 AM
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 :
allow to stop in local and from Caller