Basic Harmonic Analyzer Measurement
Overview
Given an input signal, finds the fundamental frequency and computes Total Harmonic Distortion (THD). You do not need to specify any other input. You can control the amplitude, frequency, and noise level of the input signal. A secondary low-amplitude 60 Hz is added to the fundamental by default. This program is a shipping example VI included with NI LabVIEW.
LabVIEW Signal Processing Example Programs
National Instruments LabVIEW is an award-winning development environment optimized for engineers and scientists creating test, measurement, and control applications. With NI LabVIEW, users can quickly and easily acquire real-world signals, perform analysis to ascertain meaningful data, and communicate or store results through a variety of means. For more information about LabVIEW, visit ni.com/labview.
More information on LabVIEW and NI signal processing can be found at the Signal Processing Resource Center.
Downloads
Filename: basic_harmonic_analyzer_meas.vi
Front Panel
This is a picture of the VI's front panel. To view the block diagram and additional documentation, download the attached file.
This example comes with LabVIEW. If you do not have access to LabVIEW, you can always try them out online at the LabVIEW Online Evaluation.

Related Links
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/).
