DAQmx - Measure High Frequency 2 Counter Method
This example uses two counters to measure a high frequency TTL pulse. This method is helpful when the frequency to be measured approaches the frequency of the internal timebase. Synchronization error can become significant if other methods are used. We will use the high frequency of an unknown signal as our source, and count during a known period of time.
The first counter's output will be a pulse of known period. The second counter is configured for period measurement, the signal to be measured is connected to the source of this counter. The gate of the second counter is internally connected to the output of the first counter. Since we know the period of the pulse generated by the first counter, and we can measure how many edges of the unknown signal occurred during that time, we can calculate the frequency of the unknown signal.
Requirements
Filename: 3063.vi
Software Requirements
Application Software: LabVIEW Full Development System 7.1
Language(s): C, LabVIEW, Visual C++
Hardware Requirements
Driver: NI-DAQmx 7.4
Software Requirements
Application Software: LabWindows/CVI Base Development System 7.1
Language(s): Visual C++, C, LabVIEW
Software Requirements
Language(s): C, Visual C++, LabVIEW
Reader Comments | Submit a comment »
Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).
