LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview 7 SubPanel Container Question

I have multiple threads - in one thread (Thread A) I want to show the front panel of another thread (Thread B) using the SubPanel Container - Thread B is already running prior to Thread A starting. It appears from the examples of using the SubPanel container and my attempts that when using the SubPanel Container the VI inserted in the container needs to be started when inserting and cannot be running prior to inserting - is this correct or can someone please explain if what I am trying to do is correct?
0 Kudos
Message 1 of 4
(2,435 Views)
I believe that the Front Panel of the VI which is to be inserted into a SubPanel Container cannot already be opened (or already inside another SubPanel Container). To solve this problem, you can set VI.Panel.Open = FALSE just prior to inserting the VI into the SubPanel Container. I hope that works for you.
0 Kudos
Message 2 of 4
(2,435 Views)
Thanks Jim that does the trick. I also need to remove the VI from the container and re-open the front panel when closing so the thread can still be seen as another window.
0 Kudos
Message 3 of 4
(2,435 Views)
0 Kudos
Message 4 of 4
(2,435 Views)