From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Boolean Text of Multiple Buttons

Solved!
Go to solution

Is there an easier way to read several Boolean Texts? Possibly through a for loop but would need to be able to change the reference to accomplish this task.

 

19591i8234A81986269A3A

CLD Certified 2014
0 Kudos
Message 1 of 4
(2,477 Views)

Build the 4 boolean references into an array.  Feed that array into a For Loop with autoindexing.  Inside that is the property node.  The string output of the property node will exit the For Loop with Auto-indexing turning it back into a string array.

Message 2 of 4
(2,471 Views)

To be completely honest... I figured it out. I did the same thing you just suggested. I just was stumped for a while. I posted this in frustration. Thank you for your effort.

CLD Certified 2014
0 Kudos
Message 3 of 4
(2,467 Views)
Solution
Accepted by topic author ADrexelDragon

It almost looks like all your buttons are in one cluster, so you could do something like this instead.

 

(If the cluster also contains other controls, a little it more code is needed).

 

Message 4 of 4
(2,449 Views)