This example demonstrates how to acquire frequency value of analog input
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 should work with any multifunction DAQ card that has an analog input and 2 counters or more. It builds off of the LabVIEW Example Finder example, Meas Dig Freq-Buffered-Cont-Large Range 2 Ctr.vi.
NI LabVIEW 2012 or compatible
NI-DAQmx 9.0 or compatible
Steps to Implement or Execute Code:
Configure the analog input parameter and counter input parameter
Run the VI
**This document has been updated to meet the current required format for the NI Code Exchange.**