LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to disable numeric controls in a cluster one by one.

I can disabe a numeric control individually using property node. But i have ten numeric controls on a cluster, when i give two as the input then only the first two numeric controls on the cluster should be disabled. How to do this.. i can choose each control and disable thro' property node, but is there any other method
0 Kudos
Message 1 of 2
(4,344 Views)
Hi, hema:

You can get the reference to every control in the cluster with the Cluster's CONTROLS[] property.

Controls[] is an array of References, in the same order of controls in the Cluster: the same order you enter controls. You can check/change that order selecting "Reorder Controls in Cluster..." from cluster's Pop-up menu.

Once you have access to every reference, you can use the Disable property.

I hope this helps you.

Aitor.
Aitortxo.
Message 2 of 2
(4,344 Views)