LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

led

Hello to all,
I would like to ask you to solve a problem.
In my code I have an LED that turns red or green depending on whether the information is correct or wrong. I want that when the LED turns red stays red forever (like to report a problem) although subsequent iterations do not give problems (and the LED would return to green).
How can I do?
Thanks

0 Kudos
Message 1 of 7
(3,170 Views)

Shift Registers may solve your problem.

 

Regards,

Mondoni
0 Kudos
Message 2 of 7
(3,161 Views)

Hello.
I have tried using the Shift Register but I can not get the desired result.
Can you tell me how to wire the shift register to the LED "Error"?
Thanks

I enclose a picture of the piece of my code

0 Kudos
Message 3 of 7
(3,115 Views)

Just add an OR into it.

0 Kudos
Message 4 of 7
(3,073 Views)

I'm sorry I did not understand.
Where to add an OR? And what should I wire it?

0 Kudos
Message 5 of 7
(3,056 Views)
Insert it into the feedback loop! One input goes to the write that is setting the condition and the other input goes to the shift register on the left side. The output goes to your Boolean indicator. Understand how that wil latch the output of the OR to true?
Message 6 of 7
(3,047 Views)
p.s. Don't forget to initialize the shift register to false.
Message 7 of 7
(3,039 Views)