EMAX

This function aggregates the facts saved from an event capture by calculating the maximum. If you supply a value for hist on the function call, the function aggregates the facts, where the age is less than the value of hist, in milliseconds.

_EMAX(event, histOrEndTime, beginTime)

Parameter

Type

Required/
Optional

Description

event

String

Required

Specifies the name of the event.

histOrEndTime

long

Optional

Specifies the amount of real-time data history that will be retrieved (current time minus hist). If a third parameter is provided, it represents the end time in milliseconds of a date range.

beginTime

long

Optional

Specifies the begin time of a date range.

Note: The two parameter _EMAX(event,hist) is available since iWay Enable version 1.0 and has not changed. The three parameter _EMAX(event,endDate,beginDate) is available since iWay Enable version 1.1.


iWay Software