LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

disable an array property

Does anyone know how to disable an array using the array property node?

0 Kudos
Message 1 of 4
(2,231 Views)

Just select property "disabled" and wire the desired state. Where are you having problems?

 

Of course you cannot selectively disable individual elements of an array, because all elements share the same properties and can differ only in value.

0 Kudos
Message 2 of 4
(2,225 Views)

I just want to be able to disable an array using a selection from a drop down menu.  So if I have a drop-down menu of 0, 1, 2 and I select 2 it will select the "Disable and Grayed Out" Property in the Property node.  Is there a way to do this? 

0 Kudos
Message 3 of 4
(2,196 Views)

Which part? Disabling the array, or responding to a menu change? For the first part, you've already been told how to do that. For the second part, you can use an event structure and respond to the menu's  Value Change event. See the LabVIEW Help and the examples (Help -> Find Examples) for help on how to use the event structure.

0 Kudos
Message 4 of 4
(2,191 Views)