Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with gating on a Edge Counter with NI-Daqmx 8.0

Hi,
I am using LabView 7.1 with NI-Daqmx 8.0.  My data acquisition card is a NI-DAQPad 6016.  I want my signal source (CTR 0 Source pin 50)  to be edge counted when my gate is high (CTR 0 Gate pin 52).  Basically, I would like my signal source and my gate to act like a AND Gate.  Is that possible...?  The gate does not work and I cannot find  the right function for it.  In the NI-Daq traditionnal I was able to choose my gate has an input to my counter function. It does not seems to be case for NI-Daqmx... He is my code.
 
Thank you very much,
 
I appreciate it a lot,
 
Philippe
0 Kudos
Message 1 of 3
(3,636 Views)

In DAQmx, setting up the GATE for single point edge counting is done using the pause trigger attributes.  There is a LabVIEW example that ships with DAQmx called "Count Digital Events-Pause Trig.vi" that should take care of your needs.

gus....

Message 2 of 3
(3,448 Views)
Thank you very much, it should work well.  I appreciate it !
 
Have a great day,
 
Phil
0 Kudos
Message 3 of 3
(3,442 Views)