LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Simple problem with a square wave and a boolean LED

Solved!
Go to solution

Hi Asrih,

 

so you read my pm and didn't help me... thnx

I don't react on PMs: When you have questions on your topic then you should post in your thread!

 

You can even bump your thread after waiting for some amount of time!

But creating a new thread for the same problem is the worst you could do then…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 11 of 13
(1,208 Views)
Solution
Accepted by N.Asrih

@N.Asrih wrote:

im sorry but i dont understand what you did there, where is the LED and the square wave


The square wave is the Raw signal while the LED is the Held.  The idea is to use the Elapsed Time to state when the raw signal has been low for 1 second.  So I reset the timer whenever the signal is high and use the inverse of Time Elapsed? to hold the LED on.

 

The setting of the Set Start Time is just there to make the Elapsed Time be a TRUE when the program starts up, therefore making the LED Off.

 


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
Message 12 of 13
(1,199 Views)
Solution
Accepted by N.Asrih

Hi again Asrih,

 

Here's a version that should open on your 2014 LabVIEW. 

Let me know if don't understand what I'm doing or you get stuck on anything. 

 

Cheers,

NI-Mikko

Message 13 of 13
(1,191 Views)