To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This VI allows you to use a counter in order to measure the frequency of an analog signal.
Description
An analog signal can be acquired and analyzed in software to determine its frequency. However, in many situations it is desirable to measure the frequency of an analog signal in hardware. A counter cannot be used to directly measure the frequency of an analog signal. Using an analog comparison event, you can generate a digital trigger that can measure the frequency and period of an analog signal using a counter. This VI performs the following:
Requirements to Run
Software
LabVIEW 8.6 or compatible
DAQmx 8.8 or compatible
Hardware
NI Multifunction DAQ Device with at least two counters that also supports analog triggering.
Steps to Implement or Execute Code
Additional Images
Block Diagram
Additional Information or References
Measuring the Frequency of an Analog Signal in Hardware
Analog Input Period Counts Using Analog Comparison Event
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.