LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Once true, make LED stay green

I have an LED that lights green when a timer and set time are equal/greater than.  How can I force the LED to stay active?  Such as if the timer gets reset...  The LED needs to still show active.

0 Kudos
Message 1 of 13
(4,129 Views)

You can use Boolean's Property Node > Value to set the boolean to high.

test.PNG

Andy Chang
National Instruments
0 Kudos
Message 2 of 13
(4,124 Views)

Use a feedback node. Wire the OR of current value and last value to the LED and back into the feedback node.

0 Kudos
Message 3 of 13
(4,122 Views)
My only problem with that is that it's all constantly being looped.  Won't it just keep checking?  If the timer gets reset it won't match the set time then the boolean will just reset.  Attached is the code for what I have.
0 Kudos
Message 4 of 13
(4,106 Views)

Or search the forums for a Boolean Latch. Such as the one in this thread.

Richard






0 Kudos
Message 5 of 13
(4,101 Views)

In case you don't know the feedback node, here's the concept of latching using a shift register.

 

 

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 6 of 13
(4,095 Views)

Broken Arrow wrote:

Or search the forums for a Boolean Latch. Such as the one in this thread.


 

I guess I should have thought of that... Smiley Very Happy
Message Edited by NIquist on 03-19-2010 04:15 PM
LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 7 of 13
(4,082 Views)
0 Kudos
Message 8 of 13
(4,068 Views)

hello everyone,

i hope that i am posting under the right header.

I did a program for led using case structure and while loop. but the problem is that the led is blinking. i 

dont want it to blink. i want the pin to stay high then when i press the boolean, it shall be off.

 

the led pin is on my breadboard.

can any1 help

 the first snapshot i use a simple case structure

 

Download All
0 Kudos
Message 9 of 13
(3,377 Views)

@Zahkay wrote:

hello everyone,

i hope that i am posting under the right header.

I did a program for led using case structure and while loop. but the problem is that the led is blinking. i 

dont want it to blink. i want the pin to stay high then when i press the boolean, it shall be off.

 

the led pin is on my breadboard.

can any1 help

 the first snapshot i use a simple case structure

 


Start a new thread.  And post the actual code.  The pictures you gave is not enough information to diagnose the issue.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 10 of 13
(3,364 Views)