11-16-2021 09:05 AM
I need to get the subpanel reference by using vi refence wire of the vi inserted into that subpanel. Is that possible?
Im using LV 2016
Thank you
Adarsh
LabVIEW from 2006
CLA from 2014
11-28-2021 08:18 PM
As far as I know, you cannot directly get the subpanel refnum from the inserted VI refnum since this VI does not "know" it is being inserted into a subpanel.
You will have to pass it as an input/control of the inserted VI, or use a communication mechanism (like a queue).
However, I am curious why you would need to manipulate the subpanel from the inserted VI.
11-29-2021 03:06 AM
TPTB ruled that this is a terrible idea: VI property subpanel ref - NI Community. Didn't get much support either...
See that thread for some 'solutions'.