ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

disableing front panel control when program runs

I would like to allow the user of my program to enter some variables into the program before it runs and then disable/grey out the control when the program is running so that the value that they have set cannot be changed until the program has finished or has been stopped.
 
Is there a way of changing the state of a control so that it can be edited before the program is run and then not edited when the program is running?
 
Thanks
 
Paul
0 Kudos
Message 1 of 2
(2,427 Views)

A property node of a control can be used to do just that!

Right click on the control>>create a property node>> select property 'disabled>> change to Read>> wire a constant of '1' and your control will be diabled when you run the vi

Pass '0' at the end to enable it

Do as shown in pic attached

Message 2 of 2
(2,425 Views)