LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Disable controls on front panel (Bacic question)

How do i make the numeric controls on the front panel disable when the VI is running??
0 Kudos
Message 1 of 3
(2,414 Views)
1. Create a reference to the control you wish to enable/disable. (You can right click on the control on the block diagram and select "Create >> Reference" to do this).

2. Wire the reference to a Property Node (found in Application Control on the Functions Palette).

3. Right click on the Property Node and choose "Change All To Write".

4. Left click on the Property Node and choose "Disabled" from the list.

The state of the control will depend on the value you wire to "Disabled" terminal of the Property Node. 0-Enabled, 1-Disabled, 2-Disabled and Grayed Out.

Hope that answers it for you.

Nick
"You keep using that word. I do not think it means what you think it means." - Inigo Montoya
0 Kudos
Message 2 of 3
(2,414 Views)
On the block diagram, right click on the control's terminal and select
Create -> Property Node. Right click on the lower portion of the property
node and select Properties -> Disabled. Again right click on the property
node and select Change All To Write. Yet again right click on the property
node over the Disabled tag and select Create -> Constant. The value of this
constant determines if the control can be operated: 0-Enabled, 1-Disabled,
2-Disabled and Grayed Out.

"gurj001" wrote in message
news:506500000008000000F4EB0000-1079395200000@exchange.ni.com...
> How do i make the numeric controls on the front panel disable when the
> VI is running??
Message 3 of 3
(2,414 Views)