LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to change the color of leds inside a cluster

Hi vk1,

you can set the default color like any other color too: wire the (correct) constant to the "colors[]" property of the LED.
There is no special property to get default colors, simply set the needed color! (Or use a colorbox instead, will need less wiring for same purpose...)
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 11 of 12
(613 Views)

Have a look at the attached example.  I placed 3 Boolean Indicators (LEDs) inside a cluster.

I then set their colors.  The chosen colors are arbitrary just to illustrate how it is done.  You would have to use a Selector or some other means to choose which color should be the appropriate one based on some conditions.

Try to implement it to your code.  If you have problems, post your entire code.

RayR

 



Message Edited by JoeLabView on 06-24-2008 07:52 AM
0 Kudos
Message 12 of 12
(596 Views)