LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

inverse on boolean condition

i mam new to labview and have come across a problem i cannot workout;
I require an inversion of boolean state on one line when the boolean state changes from false to true on another line.
Context: Voice triggered headlights (where other elements also have an effect on the headlights) the headlight turns ON/OFF upon the recognition of a voice command.
0 Kudos
Message 1 of 5
(2,489 Views)
BTW i think that it may use the 'Implies' function (but i am not sure) also i am using version 6.1
0 Kudos
Message 2 of 5
(2,488 Views)
Hello rkstokes,

yes "Implies" is nice to detect rising or falling edges of digital signals. You can connect the output of "Implies" to a "Select" (or a case structure) and use a negate function to switch on/off your headlight.

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 3 of 5
(2,484 Views)
Im still having trouble, i need an positive edge triggered latch idea.
on the attached VI i have identifyed the positive edge, i need some how to inverse line 1 on a rising edge in line 2, this inverse must latch till the next rising edge.

0 Kudos
Message 4 of 5
(2,467 Views)
Hello rkstokes,

that example should do it...

Best regards,
GerdW


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