LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

boolean cluster color

how can i change the color of an indicator inside a boolean cluster based on its true/false value?
0 Kudos
Message 1 of 6
(3,486 Views)
You can change the True\False colors of a boolean indicator by using the color tool (paint brush) on the front panel. Or you can change it programmaticly using a property node and selecting the color[ ] property. Look at the context help for information on the values for the property node.
 
 
Andrew Alford
Production Test Engineering Technologist
Sustainable Energy Technologies
www.sustainableenergy.com
0 Kudos
Message 2 of 6
(3,472 Views)

Hi Fred,

Just use the paintbrush tool to color the True state of the boolean whatever color you want.  Then use the Operate tool to switch to the False state, then use the paintbrush tool to color the False state whatever color you want.

If I misunderstood the question, please clarify.

-D

0 Kudos
Message 3 of 6
(3,474 Views)

i can't seem to change the color of the LED, the color [ ] doesn't appear only color.

 

I am using a cluster of 64 LEDS. If any of the LED values is true, illuminate green, false illuminate red. IF iddle blink.

 

0 Kudos
Message 4 of 6
(3,466 Views)
Hi:

Here's an example of how to access each boolean control in the cluster programatically and change the colors it uses.

Robst.



Robst - CLD

Using LabVIEW since version 7.0


Message 5 of 6
(3,467 Views)
A boolean only has two states True and False, there is no way for you to determine the difference between the default (which you have as False) and the value being set to False. If you want to indicate more than two states you will have to use something like a Color Box.

Message Edited by AndrewAlford on 02-03-2006 03:50 PM

Andrew Alford
Production Test Engineering Technologist
Sustainable Energy Technologies
www.sustainableenergy.com
Message 6 of 6
(3,462 Views)