Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Counting pulses with both counters of NI-DAQ 6025e

Hi,
 
I need to make a LabVIEW program that counts pulses of both of the counters of the 6025e DAQ card.
I have attached a vi that is my current situation. I have managed to succesfully configure the counters to be
in different groups and both of them seem to be counting, but not the pulses that are coming from the
signal generator. Both counters count even if the signal generator is not on.
 
All the wirings to the board are correct. Input from signal generator is connected to the source of both counters
(pins 41 and 47) and digital ground is connected. Also I have connected analog output 1 to both counters gate
(pins 42 and 48) as it was suggeested in some tutorial that I found from NI web page. I have tested an example
vi that calculates the frequencies of signals coming to both counters and it is correct. This pulse counting has
become problematic for me.
 
As said, I'm using NI-DAQ 6025e with LabVIEW 6.1. I'm new to LabVIEW and all this data acquisation,
but I have quiete a lot of experience from text based programming languages, so I understand the consepts
well.
 
Hopefully someone here can give me some guidance. Thanks in advance.
 
kaêm
0 Kudos
Message 1 of 2
(3,372 Views)

Some update information.

Now I have connected two signal generators to my daq card, one

for counter 0 and the other for counter 1. I'm testing this with the

frequency measurement example with slight modification that I

mentioned in the previous post, this example can be found from

the following address http://zone.ni.com/devzone/cda/epd/p/id/4669.

 

The problem is that the signal generator connected to the counter 1

does not have any influence to the measurement. The program gives

the same frequency for both counters, even if the signal generator

that is connected to counter 1 is switched off. If I take the cable off

from this signal generator, the program gives a frequency of 0 for

counter 1.

 

For some reason the VIs that I attach are not included in the message,

so I can't attach the actual program that I'm using for this measurement,

but it is almost the same as the VI found from the link that I provided.

 

All tips and hints are welcome.

0 Kudos
Message 2 of 2
(3,343 Views)