LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I change the properties of only one element in an array of booleans?

I'm displaying an array of booleans to my operators, with each boolean in the array representing some system status check.  Some of these checks are critical and some are not, therefore I want some of these booleans to have a different color when in the TRUE state (Red for the critical ones and Yellow for the non-critical ones).  I can change the boolean colors with a property node, but that effects every element in the array.  Is there any way to change a property of an individual element in an array?  I know that I could take the incoming array and break it into two arrays - one for critical and one for non-critical, but this system is replacing an older system and the operators are accustomed to seeing their indicator lights a certain way and I'm trying to replicate what they had exactly.
 
0 Kudos
Message 1 of 5
(3,704 Views)

The only way I can think of meeting your criteria is using a cluster instead of an array. See attached vi.

 

Andrew Alford
Production Test Engineering Technologist
Sustainable Energy Technologies
www.sustainableenergy.com
0 Kudos
Message 2 of 5
(3,685 Views)

All elements in an array have identical properties.

What you could do is use an array of color boxes (e.g. as I show in this old thread ).

With a little bit of customization effort, each array element can be made to look like an LED! 🙂
0 Kudos
Message 3 of 5
(3,680 Views)
Here's what I had in mind 😄
 
 
Of course you can use as many colors as you want.
 
 

Message Edited by altenbach on 12-21-2005 04:53 PM

Download All
Message 4 of 5
(3,675 Views)
Thanks for all the feedback.  I'm going to use a color box instead of a boolean in my array - problem solved!  Thanks again everyone!
0 Kudos
Message 5 of 5
(3,637 Views)