Overview
This VI reads in a .WAV file and uses the Sound and Vibration Measurement Suite to programmatically determine the peaks of the file.
Description
This example VI reads and plays a WAV file which is specified by the user. The WAV data is then scaled to engineering units. After this, the power spectrum of the WAV data is computed over a subset of the baseband span and the spectrum peaks are identified and listed in a table. The peaks are identified using an algorithm that accounts for the time-domain window applied to the data. The threshold for the peak search can be manually entered or an automatic threshold will be used if the default value is used for the threshold.
Requirements
Software
Hardware
- None, but could be expanded to use hardware instead of a WAV file
Steps to Implement or Execute Code
- Download the VI
- Select the .WAV file you wish to analyze with the example VI in the path control
- Run the VI
Additional Information or References
Front Panel
**This document has been updated to meet the current required format for the NI Code Exchange.**