OpenInterval (Begin a Measurement Interval)

The OpenInterval instruction is used to modify what measurements are included in the time series processing instructions of an interval driven DataTable. When this instruction is inserted in a DataTable declaration, time series processing will include all measurements since the last time data storage occurred.

Syntax

OpenInterval

Remarks

Typically, time series data (averages, totals, maximums, etc.) that are output to a table based on an interval only include measurements from the current interval. After each output interval, the memory that contains the measurements for the time series data is cleared. If an output interval is missed (because all criteria are not met for output to occur), the memory is cleared the next time the table is called, unless the OpenInterval instruction is contained in the DataTable declaration. The use of OpenInterval results in all measurements being included in the time series data since the last time data was stored (even though the data may span multiple output intervals)