Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

(mis)counting with PCI 6229

I am running into troubles with counting on a PCI 6229 card using a program which is known to work well with our other NI hardware.

I have set up a buffered counting using ctr 0 as the main counter and ctr 1 as the time source.
I have connected ctr1 out (output marked ctr1out on the BNC-2110) to ctr 0 gate (PFI9) and ctr 0 src to the BNC input (via pin "user 2")

So far so good. Unfortunately if there is not signal on ctr0 src, I get no return value from the Read-VI (i.e. always an empty matrix).
Furthermore if I set the timebase of ctr1 to 1ms and try to measure a slow signal (i.e. 200 counts per second), I do not receive 1000 values a second, 200 of which are 1, 800 of which are 0; instead I end up with only 200 datapoints, all 1s.

This behaviour is baffeling me; I have used a different box, different cables to connect the pins on the BNC-2110 block - always the same result.

Is there something I am missing or is the PCI 6229 unable to use its counters to do buffered, timed counting?

Your input and help would be highly appreciated!

mlg
Gerhard
0 Kudos
Message 1 of 4
(3,038 Views)

Hi,

What is the other NI hardware that this program works fine with? Also do you get any errors or are you just not seeing signals?

What is the program written in, and what version? What version of the driver are you using?

If you can answer these questions, then I may be able help

Regards

Hannah
NIUK & Ireland

0 Kudos
Message 2 of 4
(3,023 Views)
Dear Hanna,

on a PCI 6036E and a PCI 6601 my program works fine. On the 6229 I get no signal at all (empty matrix) if no count was registered during the time specified by the second, "timing" counter. I am using Labview 7.1 with the DAQmx drivers that came with the CD. There is no error reported by the device.

Gerhard

The problem has also been posted to http://forums.ni.com/ni/board/message?board.id=40&message.id=2994 (Counter/Timer), my apologies for the cross post.

0 Kudos
Message 3 of 4
(3,021 Views)
See response in the counter/timer forum here
0 Kudos
Message 4 of 4
(3,009 Views)