Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

is it possible to count '0' events with 6229?

I have set up a buffed edge counting which works fine with our E-series boards. Using a new NI 6229, however, the same program returns minimally 1 count.

It seems that in the case that the signal frequency is lower than that of the timebase (in our case ctr0 is producing pulses at a frequency of 1kHz, ctr0out->ctr1gate, signal to be measured arrives at ctr1source) the card completely ignores the timing. Example: with 1kHz at the gate I would expect to read 1000 datapoints per second; if the signal runs at a lower frequency than 1kHz I read a number of datapoints corresponding to the signal frequency (all value "1").  At higher signal frequency it seems to work as expected.

I have tried a different BNC-2110 box and switching the order of the counters (ie using ctr1 as timing device and ctr0 as the actual counter), but this problem remains.
The cabelling has been done according to the NI-6229 port/pin scheme found in the documentation directory of Labview. (ctr0out is BNC on the box, ctr1gate=pin41=PFI4 on the box, ctr1source=pin42=PFI3 on the box; for opposite configuration ctr1out as on box, ctr0gate=pin 3=PFI9 on box, ctr0source=pin 37=PFI8 on box).

I would be very thankful for any help with this,
Gerhard

my apologies for the cross-post, but I put this question first up in the wrong discussion board.
0 Kudos
Message 1 of 3
(3,570 Views)

The behavior you are seeing when no edges occur on your event counting terminal are the result of not enabling duplicate count prevention. In DAQ 7.4, the default behavior of duplicate count behavior should enable this for you by default, but if you cannot upgrade to DAQ 7.4, I'd enable "duplicate count prevention" attribute. There are a number of previous posts about this attribute, including this post.

I hope this helps!

gus....

0 Kudos
Message 2 of 3
(3,561 Views)
You are my hero!

If I had known beforehand that my "missing count" is actually a "prevented duplicate count" in NI-speech, I even would have been able to google it.

Thank you again for the help!

Gerhard
0 Kudos
Message 3 of 3
(3,556 Views)