To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This code allows the user to find the largest peaks in a waveform.
Description
LabVIEW peak detector VIs provide peaks based on a threshold, but they don't provide the option to find a specific number of peaks. This VI lets users only look at a chosen number of the largest peaks in the waveform.
Requirements
1. LabVIEW Base Development System (or compatible)
Steps to Implement or Execute Code
1. Choose the number of peaks that you would like to find.
2. Set a minimum threshold to qualify as a peak.
3. Run the VI.
4. The results at the bottom will show you the X-axis locations of the peaks and their associated amplitudes.
Additional Information or References
**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.