10-15-2010 03:03 AM
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
10-15-2010 03:32 PM
Hi Raghunathan,
Pulse Width Measurements actually require to use the Gate of the counter (PFI 9 by default).
Best Regards,
11-22-2010 02:11 PM
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
11-23-2010 11:29 AM
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,