Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

PCI-6229 Counter not working...

I am trying to measure a low frequency pulse width of a square wave with amplitude of 4 V.

 

Using the sample code "Meas Pluse Width -Buffered-Cont.vi"  supplied with LabVIEW . The card I am using is PCI-6229. The source is a function generator and the output of the same is connected to PFI-8 terminal ( Ctr-0 Src)and Ground to DGND of the card. I am able to read the frequency of 10 Hz right at these terminals using a scope but the VI reads zero. And no error is also reported.

 

What could be wrong ??

 

Thanks

Raghunathan
LabVIEW to Automate Hydraulic Test rigs.
Message 1 of 4
(6,433 Views)

Hi Raghunathan,

 

Pulse Width Measurements actually require to use the Gate of the counter (PFI 9 by default).

 

 

Best Regards,

John Passiak
0 Kudos
Message 2 of 4
(6,424 Views)

Hi John!

 

Do you have the correlations betwen PFI and their  Functions? For example, I'd like to know the PFIs  for the counters.

 

thanks

 

brás

0 Kudos
Message 3 of 4
(6,234 Views)

Hi brás,

 

The default PFI lines for the various counter inputs on your particular device can be found by checking the device pinouts in MAX.  On most devices, you can change which PFI lines to use through DAQmx Properties.

 

For finding out which counter terminal is used for various measurements (e.g. source vs. gate), refer to the Counters section in the User Manual for your product (e.g. X Series User Manual).

 

 

Best Regards,

John Passiak
0 Kudos
Message 4 of 4
(6,220 Views)