LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you dynamically change the enabled state of a control?

Solved!
Go to solution

I am building a VI whose purpose is to generate a digital signal, display it on a graph, and optionally save the data to a file. I have a path control and a check box included in my front panel. When the check box is checked I want the enabled state of the path control to be Enabled. When the check box is unchecked I want the enabled state of the path control to be Disabled & Grayed. Is there a way to accomplish this or even just make it look like this?

 

 screen.PNG

 

PS: I also want the check box to control whether or not the VI saves data to a file, but that part I think I can figure out.

 

 

 

 

0 Kudos
Message 1 of 3
(5,726 Views)
Solution
Accepted by topic author BenG.

Right click the path control and choose create property node.

 

Select Enabled

 

Set as write

 

Wire a constant (o enabled, 1 disabled, 3 disabled and greyed out)

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 2 of 3
(5,725 Views)

Awesome, thanks!

 

screen.PNG

0 Kudos
Message 3 of 3
(5,710 Views)