Currently, you cannot get the ref of a VI contained in a subpanel. When removing a VI from a subpanel, the VI ref is not returned either. Having access to this ref would be useful so you can access the VI and stop it after you remove it.
The solution would be to add a "VI Ref" property node (read only), and/or return the VI Ref when using the "Remove VI" method.
or
This forum article describes the issue in more detail: http://forums.ni.com/t5/LabVIEW/Given-a-VI-can-I-determine/m-p/790441?requireLogin=False
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.