LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to get subpanel reference from vi reference(vi inserted it in to the subpanel)

 

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

0 Kudos
Message 1 of 3
(249 Views)

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.

0 Kudos
Message 2 of 3
(169 Views)

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'.

0 Kudos
Message 3 of 3
(156 Views)