LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Square Wave into normal signal (boolean)

hi labview community,

 

i've already posted this kind of a question in this community a month ago but i stilll havn't got the right answer.

 

so this is my problem,

 

i've got a signal that comes form a pcb, into my compactrio NI9375 module. the signal that comes in is like a pulse. it is high for one second and low for a second then high again etc..

So if i connect this input in labview with a boolean LED. this LED will blink. 

what i want it that the LED will stay on after the first 'pulse'. the pulses usely last for like 5 seconds when activated. so i other words.. if i press a button on the pcb, the pcb will send a pulse signal for 5 seconds 1 sec high 1 sec low (3times).

what i want is that the led will go on on the first pulse and stay on for like 10 seconds.

 

please could you show me how you solved it in images.. im new to labview and i've got bad english

 

Kind regards

 

Nasrih

 

Capture.PNG

0 Kudos
Message 1 of 6
(4,479 Views)

Hi Nasrih,

 

you already marked several solutions to this problem!

 

So what's wrong with those solutions?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 6
(4,473 Views)

it doesn't work as i wanted. i want to explain till detail but i've got a language problem.

 

but you dont want to help me so why relpy?

0 Kudos
Message 3 of 6
(4,468 Views)

should i realy make a fake account so you dont keep saying this again?

0 Kudos
Message 4 of 6
(4,466 Views)

the problem in that what you send me was that the led keep on.. the led should be trigerd by the first pulse signal.. and the vi turns communicaqtion slow to cRIO

0 Kudos
Message 5 of 6
(4,460 Views)

@N.Asrih wrote:

the problem in that what you send me was that the led keep on.. the led should be trigerd by the first pulse signal.. and the vi turns communicaqtion slow to cRIO


The answer that GerdW linked to turns on for up to 1 second after the last pulse.  If you want the LED to be on for an additional 5 seconds, you just need to change the amount of time the Elapsed Time function is set for.

 

What is slow?  Perhaps you should share what code you have.  That would answer most of our questions.


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 6 of 6
(4,440 Views)