MINMAX – Running minimum and maximum
Block SymbolLicensing group: STANDARD
Function Description
The MINMAX function block evaluates minimum and maximum from the last n samples of the u input signal.
The output
indicates that the buffer contains less than n samples. In such a case the minimum and
maximum are found among the available samples.
Inputs
u | Analog input of the block | Double (F64) |
R1 | Block reset | Bool |
Outputs
ymin | Minimal value found | Double (F64) |
ymax | Maximal value found | Double (F64) |
RDY | Ready flag (buffer filled) | Bool |
Parameters
n | Number of samples for analysis (buffer length) 1 10000000 100 | Long (I32) |
nmax | Limit value of parameter n (used for internal memory allocation) 10 10000000 200 | Long (I32) |
[Previous] [Back to top] [Up] [Next]
2023 © REX Controls s.r.o., www.rexygen.com