LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Latching leds on.....

Hi,
I have 4 digital AND gate lines that go to LEDs. After the LEDS are turned on I need them to stay latched on until the test is done. I'm new to Labview and couldn't think of a good way to do this.THanks!
0 Kudos
Message 1 of 3
(2,783 Views)
As long as you cannot use mechanical actions on indicators or controls with local variables, probably the solution is to change the value of those LEDs explicitly. For this, create a local variable (pop up menu -> Create -> Local variable) for each of your indicators and use them to change values after the test is done. You have to use a sequence or to force dataflow in order to be sure that those values are changing AFTER your test is done.
Hope I understood your problem
p.s: you can find some good examples of using booleans in lv folder\examples\general\controls\boolean.llb
0 Kudos
Message 2 of 3
(2,783 Views)
One interesting way of doing this is to create a local variable of the LED. Then connect this local variable through an OR gate to the LED (along with the AND gates). This way if the previous state of the LED was TRUE, it will always be TRUE.

Rob
0 Kudos
Message 3 of 3
(2,783 Views)