Showing results for 
Search instead for 
Did you mean: 

LED color change

@kaawn wrote:

Hi paul_cardinale,

I am using labview 8.0 so could not open the vi. Would it be possible to send a picture of the vi?




Here it is.

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 11 of 13

@kaawn It does not work like that, only one color at a time. Depending on your program, you should be able to change LED colors programatically.

0 Kudos
Message 12 of 13

@kaawn wrote:

I kinda need to use LEDs.

What does that even mean? As I said, an LED is of boolean type and can only have two states. To use three colors you can ignore the value (TRUE/FALSE) and set the color with property nodes (expensive!) or you need to worry that the color also depends on the value. In any case, you need to carry metadata about the state in addition to the boolean value, doubling the complexity of the datatype.


As I said, a color LED of colorbox type (U32)  is a significantly better idea. Here's one possible example:



LabVIEW Champion Do more with less code and in less time
0 Kudos
Message 13 of 13