LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

disabling control through subvi

I want to be able to enable/disable controls through a subVi. Currently I am able to do this in an event structure. I select an option on a control on the main panel which causes an event to activate the subVi and enable/disable controls on main panel accordingly. My issue has to do with initially opening the main panel - the subVi is called but the controls on the main panel are not enabled/disabled.
0 Kudos
Message 1 of 3
(2,520 Views)
The easiest way to do this is to use a control reference. By right clicking on the control you can select create>>reference. Pass this reference into your subvi and under the application control pallette select a property node. You can then select the disable property after you have connected the reference. check out my example. hope this helps.
BJD1613

Lead Test Tools Development Engineer

Philips Respironics

Certified LV Architect / Instructor
0 Kudos
Message 2 of 3
(2,514 Views)
here is the top level vi.
BJD1613

Lead Test Tools Development Engineer

Philips Respironics

Certified LV Architect / Instructor
0 Kudos
Message 3 of 3
(2,513 Views)