LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview square wave measurement problem

Solved!
Go to solution

Hi Asrih,

 

why do you want to compare a boolean signal with "greater equal to TRUE"?

This is a classic Rube-Goldberg (and not needed at all)!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 11 of 18
(1,861 Views)

Hi GerdW,

 

so if i take that out (greater/ equal to true) out the LED will stay on if the signal of the DI1 is high/low?

(

With kind regards

 

Asrih

0 Kudos
Message 12 of 18
(1,855 Views)

but the problem is, if the signal is off the LED should go off too. if the signal is on the LED should stay on and not blink

0 Kudos
Message 13 of 18
(1,851 Views)

Hi Asrih,

 

the "boolean2" LED will stay TRUE once a TRUE value comes from this subVI in your image.

 

if the signal is off the LED should go off too. if the signal is on the LED should stay on and not blink

There's a contradiction in these sentences!

Should the LED go off with a FALSE signal - or should it stay ON?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 14 of 18
(1,838 Views)

Hi GerdW,

 

it should go off.

 

With kind regards,

 

Asrih

 

 

0 Kudos
Message 15 of 18
(1,831 Views)

Hi Asrih,

 

when the LED should go off/FALSE, when the input signal goes FALSE, then it will blink…

 

What exactly do you want to achieve? Please define your goal without contradictions!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 16 of 18
(1,829 Views)

Hi GerdW,

 

look this is the case,

 

im making a test for PCB, it has a emergency switch and a buzzer.

 

case 1: emergency switch isnt pushed, buzzer makes no sound and therefore the LED in my program stays off

 

case 2: Emergency switch is pushed in, buzzer automaticly makes sound (in a square wave form therefore the simulation). but if i put this in the program the LED will blink.. because the signal is high/low what i want is that the LED will stay on.

 

(english is not my native langueage thats why i cant explain it very good)

With kind regards,

 

Asrih

0 Kudos
Message 17 of 18
(1,826 Views)

Hi Asrih,

 

then use the suggestions above to store the TRUE state in a shift register!

 

As long as your hardware only delivers FALSE values the LED will stay FALSE. As soon as the first TRUE is returned the LED will stay TRUE…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 18 of 18
(1,791 Views)