03-08-2017 12:41 PM
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.
03-08-2017 03:55 PM
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.