The function returns the average of the values within a time
period. The expression, that consists this function must be evaluated on
change. Result is a real value.
Declaration
REAL %Ave(
REAL in Arg,
UNIVAL in CalcTrigger,
BOOL in ResetTrigger
)
Parameters
Arg
Variable, which average is computed.
CalcTrigger
Object, which change causes recalculation the
function. Its type is optional.
ResetTrigger
Change of the parameter into the TRUE state
causes resetting the average.