Integral (with reset)

Signature

Accumulate_Reset_Integral(expression, reset)

Description

Calculates the integral value over expression since the last reset up to the current sample.

Result

The integral value over expression since the last reset up to the current sample.

Arguments

 

expression

The signal to be integrated.

reset

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