LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

listbox

Yes. By any method that you would use to pass any other data that wasn't a reference to another VI,  (connector pane, queues or notifiers, action engine ....)
0 Kudos
Message 31 of 34
(780 Views)

Soundarya wrote:

 

but i want to know whether that reference to that controls can be passed to another vi.


Yes, it can be passed. You can use the connector pane of your SubVI to link the Ref Ctl, to make it accept the Refnum constant/control from the MainVI.

 

To create the exact type of the Ref Ctl in the SubVI, there is this small trick. Smiley Wink

 

First create the Refnum constant for a Ctl in your MainVI. Then rt-click >> Create a Ctl for this Refnum.

 

Now, copy it to your SubVI, you ll get the same type/kind of Ref Ctl you need to pass from the MainVI to the SubVI.

- Partha ( CLD until Oct 2027 🙂 )
Message 32 of 34
(769 Views)

hi,

 

I have a Test button in one vi, in which i am making it invisible programmatically, thats our requirement.

 

i have one more vi, in which there is a button called main menu. whenever i click main menu button it should go back to the vi and it should make the Test Button visible.

 

i am going back to vi, but i am unable to make the test button visible. How can i do this?

 

InAdvance Thanks

 

Regards

Soundarya

0 Kudos
Message 33 of 34
(738 Views)

Hi Soundarya,

 

make it visible the same way "i am making it invisible programmatically", i.e. using the same property node...

 

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 34 of 34
(733 Views)