LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

toggle LED after time delay

Hi,

 

I have a Control LED and an Indicator LED.

How can I set the Indicator to be False then after 5 seconds to be True again when the Control logic is True?

0 Kudos
Message 1 of 5
(5,071 Views)

Sorry forgot to mention when the Control LED is False the Indicator LED will be False

0 Kudos
Message 2 of 5
(5,067 Views)

See attached file

0 Kudos
Message 3 of 5
(5,045 Views)

KateB, That is an excellent solution.

Fantastic! Elegant code, really

You should write some explaination in. It actually beats the 'timed loop' usage. Many posts on the site are about this ina roundabout way.

 

Appreciated!

0 Kudos
Message 4 of 5
(4,795 Views)

Here's making it really flexible. All the hardwork from Kate makes it a sub-VI.

This one is set for 10 seconds. Stick a connector to make the time variable through the 'show connector'

0 Kudos
Message 5 of 5
(4,791 Views)