LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to set properties of control references when I get them from "Controls []" property

If I create a reference to an indicator, I can set every property I need to.  I'm trying to duplicate what I did on a single boolean indicator on 20 of them.  I used This VI, to Pane, to Controls[]  The references aren't useful at all.  I tried casting them to more specific class (Boolean) but that doesn't work either.  How can I get an array of references that will work the same as ones I create by right clicking?

0 Kudos
Message 1 of 3
(2,283 Views)

You probably have not cast it to a class that was specific enough.  Which properties are you trying to set?

 

Attach a VI with the controls and what you have so far.

 

0 Kudos
Message 2 of 3
(2,268 Views)

Capture.PNG

Turn on scripting (if you havent already) and traverse the FP for all Booleans then test for them being not indicators


"Should be" isn't "Is" -Jay
0 Kudos
Message 3 of 3
(2,253 Views)