LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Select choices from a cluster of boolean but if click "select all" all the boolean inside cluster is selected or cancel all, cancel all the boolean. How to do that?

I am attaching my example and want to choose as many channels as user want, but if they decide to choose all they can click "select all" or "cancel all" to cancel. The user choice will also be updated on the main VI, where I am reading data for those channels. Thanks
0 Kudos
Message 1 of 7
(3,184 Views)
thanks for the answer, I have few more things to do in this case. When a user select channels I want to creat a 1D array where the channels selected are in ascending oder and each element is seperated by comma in brakets, i.e, [1,2,5,9,30] means that a user has chosen channels 1,2,5,9,and 30. This is part of my command to send to retrieve data for these channels. Also if all the channels are selected I dont need to creat this range and the device will automately retrieve data for entire range. Thanks guys
0 Kudos
Message 4 of 7
(3,184 Views)
Hi!
I had the same problem so I will use the attached example. But I dont want to have 36 bools in the cluster. How do I remove ellements in the cluster? When I just delete them I get a error message that says that the cluster stil has 36 elements...

Regards Magnus
0 Kudos
Message 5 of 7
(3,184 Views)
Delete them from both of the clusters, change the Initialize Array input to the new number of elements, and right click on the Array to Cluster function, select Cluster Size and enter the new number.
0 Kudos
Message 6 of 7
(3,184 Views)