Maximum (with reset)

Signature

Accumulate_Reset_Maximum(expression, reset)

Description

Calculates the maximum of expression since the last reset up to the current sample.

Result

The maximum of expression since the last reset up to the current sample.

Arguments

 

expression

The signal for which the maximum shall be calculated.

reset

A reset signal. If it is true (or unequal 0), the maximum value will be reset. If it is false (or equal 0), the last maximum value will be held.