LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Led no boolean

Hi ,
 Cam i create  an indicator (in my case a Led), which could take  many states , characterized by different colors
 
 
TheGame
Message 1 of 6
(3,753 Views)
Create a property node for the indicator. Then use the property node "colors"
 
0 Kudos
Message 2 of 6
(3,740 Views)
Hello TheGame,

just take a color control/indicator...


Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 6
(3,737 Views)
Hi there!
I hope this can help let me know!!!!

You need to use the property node for the LED.
And remember that colours are displayed as I32 numbers, but you can use the colour pallete in the numerical controls to help!

Pete

I attach something that might help!
0 Kudos
Message 4 of 6
(3,736 Views)
Here is a good example of a race condition in the LED COLOURS vi.  Is the program writing to the property node before reading from the property node?  Or is it the other way around?  By wiring the error out from one into the error in of the other, you can eliminate the race condition.  Don't let the fact that it works as you intended fool you into thinking that it won't malfunction at one time.  Learn to recognize race conditons or sooner or later it will bite you.  And you didn't even need local variables to cause a race condition.
- tbob

Inventor of the WORM Global
0 Kudos
Message 5 of 6
(3,713 Views)

Yes, use a colorbox indicator made to look like an LED.

I have posted several examples in recent times, for example:

4ColorLED.vi posted here or Dimmer.vi posted here.

(Please read the entire threads for other examples).

 

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