LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to turn LED Red for FAIL and Green for PASS?

Tri-Stated output. 
No result = black
Pass = Green
Fail = red
Message 1 of 7
(4,848 Views)

You can use property node for the Led Terminal. Change the node to Color property and wire the desired color.

 

If you are looking for only two different colors you may choose them by right clicking the LED and selecting properties.

 

There you will get a chance to select 2 colors one for 'ON' state and other for 'OFF' state.

 

Let me know if this solves your problem

 

Regards

CLAD
Using Labview 5.1,6.1,7.1.8.0
0 Kudos
Message 2 of 7
(4,842 Views)
Here is a small vi that lets you choose the LED color amongst three colors, using the property node as suggested.
 
- tbob

Inventor of the WORM Global
Message 3 of 7
(4,830 Views)

I want to see the example for multi-state LED.

Would you please change the above attachment  to LV8.0?

Thanks

0 Kudos
Message 4 of 7
(4,736 Views)
An indicator with more than two states is no longer a boolean, so why treat it as such???
 
Many examples have been posted here over the years. One possibility would be to use a colorbox indicator made to look like an LED.
 
For example have a look at my 4ColorLED.vi posted in this thread I am sure you can adapt it for your purpose.
0 Kudos
Message 5 of 7
(4,731 Views)
Actually, I need 3 state boolean controller(not indicator).
 
 
Have any idea?
0 Kudos
Message 6 of 7
(4,725 Views)
You should have read Altenbachs post.  A boolean has two states, on/off or 0/1.  Anything with more than two states is no longer a boolean.  Well that is just a play on terminology.  You want a three state controller.  You can right click on the 3-state LED examples and click Change to Control.  Or you could create an enum with three entries.  Or use this 3-position switch attached.
- tbob

Inventor of the WORM Global
0 Kudos
Message 7 of 7
(4,696 Views)