The function returns the average of the values within an elapsed time
period. The expression, that consists this function must be evaluated on a
change. Result is a real value.
Declaration
REAL %Avex(
REAL in Arg,
BOOL in ResetTrigger
)
Parameters
Arg
Variable, which average is to be calculated.
ResetTrigger
Change of the parameter into @TRUE state
resets the average.