Sums up the total duration of time that alerts from a specific Track and Sensor are active within a defined interval.
The unique ID of the sensor data to be used in the function.
This function must be run directly on raw sensor data. An internal function cannot be used (e.g. High(Previous(4))), as this does not pass all the required information.
Enter the ID of the Track to be used in the function.
Track ID's are shown in the "#" column of the Track table.
Number of data intervals considered in the function
*Both the Sensor ID and Track ID are optional strings. Each can be left blank to count alerts from any sensor or any track respectively.
To enter a blank string, use ''
Example Usage as an Expression:
AlertDuration('','',24) - Outputs the total duration of alerts from all Tracks for any sensor during the past 24 periods (e.g. 24 hours).
AlertDuration('J50.Pressure','',24) -Outputs the total duration of alerts from any track associated with sensor J50.Pressure during the past 24 periods.
AlertDuration('','5',24) - Outputs the total duration of alerts from Track # 5 for any sensor during the past 24 periods.
Examples Reference Chart:
The following example shows the AlertCount and Alert Duration for a specific sensor.
The AlertCount() includes all Tracks by leaving the TrackID blank, while AlertDuration() reports specific to Track #2.
The AlertDuration is reporting the cumulative duration over the previous 48 hours at each point.
For information on setting up custom equations and syntax, please refer to Analytical Functions.