Threshold Detector PtByPt VI

Owning Palette: Signal Operation PtByPt VIs

Requires: Full Development System

Analyzes the set of input data points specified by width for valid peaks and detects the set of points that exceed the threshold in a valid peak.

This VI is similar to the Threshold Detector VI.

Note  By default, reentrant execution is enabled in all Point By Point VIs.

Details  

 Add to the block diagram  Find on the palette
initialize, when TRUE, initializes the internal state of the VI.
x is an input data point.
threshold is the level that all valid peaks must equal or exceed for the duration of width samples. The default is 0.0.
width determines the minimum width, in number of samples, for the set of input data points. detected becomes TRUE when width remains at or above the threshold value. The default of width is 1.
detected is TRUE when the set of samples in width exceeds the threshold.
index indicates the beginning index of the most recent peak when detected is TRUE.
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

Threshold Detector PtByPt Details

A peak is valid where the consecutive elements of X exceed the threshold and the number of elements that exceed the threshold is equal to at least width.

See Threshold Detector VI help for more information.