LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple pulse measure condition to activate event FPGA

Hi all,

 

I'm trying to implement pulse width measure and checking if the condition is met before activating an event. This is all done in labview FPGA. I need to check 3 digital input lines in an FPGA to see if the pulse is longer than 100ms and if any of those conditions are met, then my event is triggered. I was able to do this individually per input, by creating a edge trigger-> wait a certain time -> check if pulse is still high -> activate event, but when I try to OR'ing these together, it doesn't work. Can anybody give me some insight how this can be done? Very much appreciated. 

0 Kudos
Message 1 of 2
(2,383 Views)

use the "wait on rising edge" and "falling edge" method nodes on EACH digital line inside a flat sequence. Drop some "ticks count" VIs from the timing palette in the frames, one after the rising edge and one after the falling edge, subtract, there's your pulse length.

0 Kudos
Message 2 of 2
(2,350 Views)