Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

NI USB 6008 counter don't work

Hello,
 
I have a NI USB 6008, I installed NI DAQmx 8.0, and when I put a TTL signal of 50Hz between the Input GND and PFI 0 the NI 6008 don't count !
 
I use the software which is in MAX>>My System>>Devices and Interfaces>>Peripherals DAQmx then right click on NI USB 6008 and "test pannel".
 
Thank you for your help.
 
Bip Bip.
0 Kudos
Message 1 of 7
(8,989 Views)
Hello,
I've done the same test under MAX and it's working properly. So which sort of error you get?
you can also test your Device with Labview. On the following link you can try an example with DAQmx:
you will need to select "Falling" as your active edge for counting. The USB-6008 counter only supports falling edge counting.
Test your device again and let me know.
Regards.
Omar S. NI.
0 Kudos
Message 2 of 7
(8,982 Views)

I try again (see counter1.jpg) and the NI USB 6008 always don't count.

On the picture "counter2.jpg" you can see that there is a signal on PFI 0 (the led flickers).

If I use the example with NI DAQmx in "National Instruments\MeasurementStudioVS2003\DotNET\Examples\DAQmx\Counter\Count Digital Events\CountDigEvents\Cs" it's the same the NI don't count as you can saw on the picture "counter3.jpg".

Thank you for your help

Bip Bip

Download All
0 Kudos
Message 3 of 7
(8,973 Views)

Hello again,

I have a look on your pictures. Your device seems to be well detected under MAX.

Unfortunately you can only use PFI0 for event counting with the USB-6008. Try to use another USB port for your test.

If the problem is still present, i advice you to contact National Instruments to repair your card.

Hope this helps.

Omar S. NI

0 Kudos
Message 4 of 7
(8,955 Views)
Hello Bip Bip,
I'd like to try to help you out if I could.  I've successfully used the counter on the USB-6008 to count edges with both MAX test panels and the C# program you mentioned (see pics).  There are a couple things I would like to mention.  First, make sure you are connecting your signal to PFI0, which is pin 29.  Secondly, your signal must be a TTL signal, 0-5V logic.  This device will count falling edge transitions only, which means 5V to 0V transitions.  Here's some troubleshooting steps:
After you have assured your signal is TTL in nature and connected to the correct terminal, open MAX (make sure nothing else is trying to communicate with the device, to be safe, you might just want to close everything but MAX).
1) Right-Click the device, select "Reset Device"
2) Right-Click the device, select "Self-Test"
3) Make sure you get an appropriate message from 1) and 2)  If you don't, take a screen shot or the error message and post.
4) Right-Click the device, select "Test Panels" and then click the "Counter I/O" tab.
5) Leave all the defaults and click Start.  If you get an error, take a screen shot and post.
6) Close test panels, minimize MAX, take a screen shot and post.
I'm sure we are probably just missing something trivial here, we'll get to the bottom of this 😉
-Alan A.
Message 5 of 7
(8,892 Views)
Thank Alan,
 
I've successfully used the counter on the USB-6008 to count edges with both MAX test panels and the C# program !!
 
In reality the TTL signal was badly connect to the NI !! my PFI0 was on pin 20 !! (the sticker was badly put by the old user!!) I'm sorry...
 
Thank you very much !!
 
Bip Bip.
0 Kudos
Message 6 of 7
(8,865 Views)

Hi,

 

I found this is helpful for me .

 

Thanks.

 

0 Kudos
Message 7 of 7
(6,408 Views)