05-21-2009 06:13 AM
05-21-2009 07:53 AM
Yes, use the FrontPanel.Open property of the VI (Application palette property; right-click: Select Class->VI Server->Vi). Set it to true, wait until the process is finished, set to false.
Felix
05-21-2009 08:21 AM
05-21-2009 08:56 AM
05-21-2009 09:36 AM - edited 05-21-2009 09:37 AM
Yes. You've written some convoluted code that does nothing. Even if you simplify it, you cannot stop it from the main. If you embed the subVI, your main will pause unless the subVI is in a separate loop.
You should spend some time with the tutorials and look for examples of using VI Server (as mentioned in the earlier post) to call and stop an external VI.