Compare data to N period ago. If Interval is blank, the period is the number of the current interval. If Sensor ID is blank, current sensor is assumed.
Number of data intervals considered in the function
Defines the time series data fed into the function. This can be a sensor ID or another function.
Example Usage as an Expression:
Compare(24,’hour’,’T5000.Tank Level’) - Outputs the data from sensor T5000.Tank Level that occurred 24 hours in the past.
Examples Reference Chart:
The following simple example shows Compare with and without the Interval and Sensor ID specified. On a Reference Chart, the current sensor and Interval are assumed.
For information on setting up custom equations and syntax, please refer to Analytical Functions.