LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Frequency with DI on 6320

I need to find the frequency of square pulses.  They will be around 200 Hz to 1500 Hz.  I am using a NI 6320 PCIe card.  Whenever I set the daqMX to Counter Input Frequency it tells me that I don't have a counter hardware specified.  The 6320 card has 8 Po and 16 PFI.    I have tryed using the example "Count Digital Event" without any luck.  

 

help please

 

-Kevin

 

0 Kudos
Message 1 of 2
(2,279 Views)

Hi Kevin,

 

If you want measure the frequency of the square pulses, you will want to use the counters on your device.  There are several good examples in the LabVIEW Example Finder ( LabVIEW >> Help Menu >> Find Examples ).  Take a look at the following examples:

 

Under the Browse Tab >> Hardware Input and Output >> DAQmx >> Counter Measurements >> Digital Frequency:

 

For low frequencies, such as the ones that you are suggesting, try:  Meas Dig Frequency-Low Freq 1 Ctr.vi

 

There are also several other examples in the Digital Frequency category that you could give a whirl.

 

Cheers,

Aaron

National Instruments
0 Kudos
Message 2 of 2
(2,267 Views)