To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example VI demonstrates how to check if an arbitrary waveform is a sinewave.
Description
In LabVIEW you are able to find the FFT of a signal and subsequently verify that, if there is only one peak in the signal converted to frequency domain, the waveform must be a sinusoidal. In this example the signal is simulated with an Express VI and analyzed using native LabVIEW APIs that allow to filter and process the signal. Based on the number of peaks found, the program determines if the waveform analyzed is a sine wave.
Requirements
Steps to Implement or Execute Code
Additional Information or References
VI Block Diagram
**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.