LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

two input digital/ boolean latch

Hi guys,

 

I have a difficulty in coming up with a working solution for the following scenario.

 

I am simulating a motor combustion cycle where the CAD vector runs from [-360,360] and this happens periodically (for every combustion cycle). I have a need to detect a certain CAD value before and after TDC and send out a logic high for that duration.

 

As per my existing solution, when I detect a value before TDC, I output a 1 from that detected value till TDC and when I detect a value after TDC, I output a 1 from the value till the end of the cycle i,e 360 CAD value. But my interest is to output a logic high in between the two detected values.

 

I am aware that or have looked around the forum that this can be done using a while loop with event structures and shift registers. But the solutions I found were for one input only. I cant get my head around this, and I appreciate the help.

 

 

0 Kudos
Message 1 of 1
(1,969 Views)