LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Disabling controlls in array elements programmatically

I have an array of clusters for user data entry which need to have each element customizable in terms of enabling/disabling the individual controls based on other controls in the array element cluster.   When a user selects the first control value, I want to enable or disable the other control based on this.  It appears that once I disbale a control, the entire array's elements are disabled for that control.  Is this possible with Labview?

 

 

0 Kudos
Message 1 of 3
(3,299 Views)

Hi id,

 

first rule for arrays: all elements share the exactly same properties!

 

No, you can't have one cluster with disabled controls while other clusters are enabled...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 3
(3,294 Views)

GerdW wrote:

Hi id,

 

first rule for arrays: all elements share the exactly same properties!

 

No, you can't have one cluster with disabled controls while other clusters are enabled...


 

So you will have to switch to an cluster of clusters to do what you want. That does not mean how you carry your data around in the app has to change, only the way it is displayed.

 

Ben

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