MINMAX – Running minimum and maximum

Block SymbolLicensing group: STANDARD
Qt SVG Document Exported by REXYGEN Studio u R1 ymin ymax RDY MINMAX

Function Description
The MINMAX function block evaluates minimum and maximum from the last n samples of the u input signal. The output RDY = off indicates that the buffer contains less than n samples. In such a case the minimum and maximum are found among the available samples.

This block propagates the signal quality. More information can be found in the 1.4 section.

Input

u

Analog input of the block

Double (F64)

R1

Block reset

Bool

Parameter

n

Number of samples for analysis   ↓1  ↑10000000 ⊙100

Long (I32)

nmax

Allocated size of array   ↓10  ↑10000000 ⊙200

Long (I32)

Output

ymin

Minimal value found

Double (F64)

ymax

Maximal value found

Double (F64)

RDY

Outputs valid (ready flag)

Bool

2025 © REX Controls s.r.o., www.rexygen.com