LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Impulse from Push button to keep an LED on for a fixed time

I have a VI wherein if the main switch is on, it should activate the case structure and within the case, if the push button gives an impulse signal(for about half a second), i want an LED to stay ON for a fixed time, and the led should be turned off only when the main switch is turned off. I am looking for a solution using some loop timing rather than changing the mechanical action of the push button.
PS: I am new to LabVIEW
Thanks in advance

0 Kudos
Message 1 of 3
(2,915 Views)

Hi karthiksudhir,

 

I am looking for a solution using some loop timing

Well, start by looking at the functions in the timing functions palette! ElapsedTime could help, as well as simple Timestamp functions…

 

for about half a second

Computers are rather bad, when it comes for something "about". You should define your request more accurately…

 

I am new to LabVIEW

When you are (still) new in LabVIEW you should take the free online courses offered by NI. And look at the example VIs coming with LabVIEW. And read the help…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 3
(2,890 Views)

@GerdW wrote:

Hi karthiksudhir,

 

 

I am new to LabVIEW

When you are (still) new in LabVIEW you should take the free online courses offered by NI. And look at the example VIs coming with LabVIEW. And read the help…


This is not the forum to coming running to every time you have a homework problem.

 

Take TIME to go through the free LabVIEW tutorials.

 

For some reason, people think that LabVIEW is "easy" and want instant gratification.

As with any programming language, it takes time to LEARN how to use it. There is no instant fix.

 

 

0 Kudos
Message 3 of 3
(2,869 Views)