Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

counting first edges on three different 9402 channels

I need to count three edges from three different channels on the 9402, ignoring subsequent signals.  I've got the count edges example configured to work with one channel but it came to my attention that my source may have multiple ttl signals after the first so I need to separate them on three different lines. 

 

 

0 Kudos
Message 1 of 5
(3,898 Views)

TRIPPLE_EDGE.png

0 Kudos
Message 2 of 5
(3,882 Views)

I used the pulse width and frequency example and doubled the two edge separation option.  It seems to work without interference.  

0 Kudos
Message 3 of 5
(3,881 Views)

StarbuckRoad,

 

Am I understanding correctly that you have resolved your issue? Or merely that the examples seems to work?

0 Kudos
Message 4 of 5
(3,856 Views)

I resolved the issure.  The only other problem I had with it was the default daqmx two edge separation is the rising edge of the first pulse and the falling edge of the second so I had to change that.  Also striping the result out from the 1-d aray made it easier to deal with.

0 Kudos
Message 5 of 5
(3,847 Views)