Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

count direction using PXI-6229 counters

Hi,

 

I am using DAQmxCreateCICountEdgesChan(..) API to create a counter input channel to count the number of edges. this API takes a parameter called "countDirection" whose value is DAQmx_Val_ExtControlled. Can anyone tell me how this parameter helps in the counting. I have noticed that it is similar to DAQmx_Val_CountDown value i.e. it decrements the count value.

I am generating digital pulses at CTR 0 and measuring using CTR 1, so i connected CTR 0 OUT to CTR 1 GATE. Any other external connections are needed to use the  DAQmx_Val_ExtControlled value?

Thanks,

Priya.

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