I have just recently purchased a NI 6601, and am trying to resolve the following issue.
I am using the NI-DAQ C API to program the card. I set up one timer for pulse generation to output a 5Hz signal, and send the output of that timer into both the source and gate inputs of a counter (using it an an external timing source as well). Basically, I want this second timer to simply count the number of pulses it receives. But when I read the points from it, instead of getting the expected
1
2
3
4
5
I get
1
3
5
7
It seems as though it is counting on both the rising and falling edge of the gate input. What am I doing wrong or overlooking?