This article describes the complete sequence of steps taken by a statistical channel to convert values of Iotellect Server variable's fields into statistical data points. This sequence is followed each time when variable change was detected.
First, channel Expression is calculated.
NULL Values Processing rule is applied to discard NULL value or convert it to zero.
The resulting non-NULL value is converted to a number on a best-effort basis. Values that cannot be converted to numbers are discarded.
Out Of Range Values Processing rule is applied to ensure that numeric value is within a valid range and discard/normalize it if appropriate.
The value is processed according to the channel Type to form new channel's Primary Data Point. If Type is Gauge, value is left as-is. For Counter, the resulting value will represent the source value's per-second change rate.
Primary Data Point value is used to update channel's Consolidated Data Point(s) according to enabled aggregation functions (Average, Minimum, etc.). This is performed for every Archive (Minutely, Hourly, etc.)
Consolidated Data Point value(s) are saved in file/memory Storage.