This operator determines where the highest or lowest value in the input buffer is, and what that value was. Whether the highest or lowest value will be detected, depends on the Type property.
The operator has two outputs. The first outputs a mask array with ones on the positions of the highest value, and the other will output a scalar with the highest value.
If there are more fields that have the highest value, all fields will be indicated by a one in the mask array.
Symbol in the Object Toolbox

Operator ports
Input V: Specific sample type, see below.Output V_Mask: Floating point value buffers
Output S_Value: Floating point values
Note that if the input sample is a mathematical vector, that only the Real values are evaluated (the Imaginary values are ignored).
Properties
Find more information about changing properties here: "Properties Viewer"Type
type: Select from the listSelect the function of this operator: whether the operator should look for the highest or lowest value
DetectTop
DetectBottom
Caption
type: Word or phraseThe name of the object in the project. This name must not contain '.', '$' nor '@' characters.
Documentation
type: See descriptionOptional documentation of this object. If this object is an operator, the Documentation text is displayed below the operator symbol.
Examples
Example: Peak Detector Example
The Peak Detector Operator has two outputs. The 'mask array' output contains a vector which has the same length as the input vector, but contains only zero's except for a 1 in the field that contained the highest value in the incoming vector. The value output contains the actual value of that peak, as a streaming sample.Examples\DF0507015_001_Peak_Detector_Exmp.xmc