Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

wire connention of source signal for event counting application

Hi,
 
I have an old traditional DAQ and I am trying to count a signal which is a train of 5 Volt and 0 Volts pulses. I simply connected one end of the signal to the Source input of a counter and the other end to the Ground pin using an appropriate resistor. The counter is configured to start by software and I start it with command "CTR_EvCount". But the counter gives me 0 at the end.
 
Can anybody tell me what possibly could be wrong?
0 Kudos
Message 1 of 4
(3,879 Views)
Try not using the resistor on the ground side connection
~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 2 of 4
(3,875 Views)
arash2,

Thank you for posting to the National Instruments Forums.  I would also recommend testing your configuration by using the Traditional DAQ test panel in Measurement and Automation Explorer (MAX).  You can locate MAX in Start>>All Programs>>National Instruments>>Measurment and Automation.  Then expand the devices and interfaces folder and the Traditional NI-DAQ (Legacy) Devices folder.  Find your device, click on the device, and click on Test Panels... at the top of the screen.  Select the counter and try to count the pulse train from the test panel.  If you are able to in the test panel than your external configuration is correct.
I hope this helps.  If you continue to run into issue feel free to post back to this thread.

Regards,

Neil S.
Applications Engineer
National Instruments
Message 3 of 4
(3,861 Views)

Hi;

 

To solve your problem, you need to connect your signal to the GATE pin of your counter.

 

KizKas.

 

 

0 Kudos
Message 4 of 4
(3,364 Views)