WA Online Multiscale Peak Detection (Waveform) VI
- Updated2024-07-30
- 4 minute(s) read
Uses multiresolution wavelet analysis to detect peaks or valleys in a streaming signal. Wire data to the signal input to determine the polymorphic instance to use or manually select the instance.

Inputs/Outputs
![]() initialize? specifies whether to initialize the internal state of the block of data to zero. The default is FALSE. ![]() peaks/valleys specifies whether this VI looks for peaks or valleys in the signal. The default is peaks. ![]() signal specifies the input signal. ![]() threshold specifies the threshold this VI uses to reject peaks or valleys of a particular size. If this VI looks for peaks, this VI ignores peaks with a peak amplitude less than threshold. If this VI looks for valleys, this VI ignores valleys with a valley amplitude greater than threshold. ![]() width specifies the width, in number of samples, of the peaks or valleys. This VI coerces the value to a power of 2. ![]() error in describes error conditions that occur before this node runs. This input provides standard error in functionality. ![]() detrend settings specifies the settings this VI uses to remove the trend from the signal.
![]() location returns the locations of the peaks or valleys this VI detects. ![]() amplitude returns the amplitudes of the peaks or valleys this VI detects. ![]() peak plot returns the signal and the peaks or valleys this VI detects. If detrend? is TRUE, peak plot also returns the trend of the input signal. You can plot this information on an XY graph. ![]() error out contains error information. This output provides standard error out functionality. |
WA Online Multiscale Peak Detection Details
This VI executes steps similar to the WA Multiscale Peak Detection VI to detect peaks by using a wavelet-based method. Refer to the Details section of the WA Multiscale Peak Detection VI for more information about how this VI detects peaks.Examples
Refer to the following VIs for examples of using the WA Online Multiscale Peak Detection VI:
- ECG Heart Rate Monitor (Online) VI: labview\examples\Wavelet Analysis\WAApplications
- Online Peak Detection and Display in Strip Mode VI: labview\examples\Wavelet Analysis\WAGettingStarted
- ECG QRS Complex Detection VI: labview\examples\Wavelet Analysis\WAApplications