Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

%AvexR function


Old name
%AvexR
Function

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.
Note: Unlike the Ave function that publishes the preliminary average continuously (after each evaluation), the Avex publishes the result only when ResetTrigger=@TRUE.

Declaration


Blok kódu
languageesl
themeConfluence
REAL %Avex(
   REAL in Arg, 
   BOOL in ResetTrigger
 )
Parameters


ArgVariable, which average is to be calculated.
ResetTriggerChange of the parameter into @TRUE state resets the average.