%Ave function


Old name
%AveR
Function

The function returns a ime-weighted average of the values within a time period. The expression, that contains 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
ArgVariable, which average is computed.
CalcTriggerObject, which change causes recalculation the function. Its type is optional.
ResetTriggerChange of the parameter into the TRUE state causes resetting the average.

0 komentárov

Nie ste prihlásený. Akékoľvek zmeny, ktoré vykonáte, sa označia ako anonymné. Ak už máte svoj účet, pravdepodobne sa budete chcieť prihlásiť .