LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Subpanel problems

Ok I have been messing around with making a subVI run in a subpanel, and I am having some trouble. I used NI's example and opened a reference to the vi, loaded into subpanel, and then invoke the run method. The vi runs until a global exit boolean is triggered. I want the vi to run async, and run as a seperate process from the calling vi, but I want to use the clean approach a subpanel offers. I have a static reference to the vi (not using to invoke, just to get relative path) and so when I build the vi is inlcuded. I am at a loss as to why I getting an error. Please see attached zip file for vi's. Thanks,
Abe Stoker
Software Engineer
Sytronics, Inc.
0 Kudos
Message 1 of 2
(2,823 Views)
Hello!

When dealing with subpanel controls, the calling and called VIs are linked together and even when they are two separate programs, the subVI front panel is only displayed in the subpanel container when the main VI is running. When the Main VI is stopped, the subVI's front panel is removed from the subpanel control.

Check this link out!

Hope this helps!

SVences
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,823 Views)