To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This VI takes an array of values (square signal) and a user-input threshold value and returns the number of peaks in the signal.
Description
A square signal is input as an array and shown graphically on the front panel. Based on the value of the user-input peak threshold, the VI will return the number of peaks in the signal. Peaks will only be counted if they are above the threshold.
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.