LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can i know what SubVI is on SubPanel?

How can i know what SubVI is on SubPanel?
 
In the main of my application i have three subpanels that open many different SubVI, i need to know what reference of subvi is actually open
 
what could be the best way to do it?
 
thanks,
Andres
0 Kudos
Message 1 of 3
(2,196 Views)
I'm not aware of a way of directly getting the VI reference from the subpanel control after a VI has been inserted into it. Seems like an oversight to me if it's not there. This means you will either have to create a mechanism for saving the reference that's currently open at the time that you invoke the "Insert VI" method, or you can use a roundabout means like getting the run state of a VI or reading an indicator's value, as mentioned in this thread.
0 Kudos
Message 2 of 3
(2,183 Views)

thank you for the help ... how i suppose isn't possible by intrinsically functions!

Andres

0 Kudos
Message 3 of 3
(2,172 Views)