Averaging Logged Sensor Data
Averaging for sensor parameters may be enabled by adjusting the log and sample intervals in the Device Remote Configuration Tool within the administrator settings.
- Log interval: Frequency with which data is written to the X2 memory, and may eventually be transmitted to the web.
- Sample interval: Frequency with which data is read from the sensor.
- Sample measurements are only saved until the log interval occurs and the X2 records one average value for all samples recorded in the specified period.
To set the log and sample interval:
- Navigate to the Device Remote Configuration Tool for the desired logger.
- Under Log & Sample Interval set the intervals within the New Value boxes.
- The log and sample interval must be at least 5 minutes.
- The log interval must be a multiple of the sample interval.
- In the example below, a T-Node FR temperature sensor has been set to sample every 5 minutes and log an average value of the samples every 20 minutes.
- Once the proper log and sample interval are entered, click SAVE at the bottom to send the interval change commands to the data logger.
- The logger will pull this command upon next contact with the web and log data based on this interval for all subsequent transmissions.
- Note: Depending on the X2 log start time and the time when this command is entered, the first logged data point may not contain as many samples as subsequent sampling periods.
Below is a timeline that depicts an X2 configured to read a parameter with the following average settings:
- Log Interval: 20 minutes
- Sample Interval: 5 minutes
- 4 sample measurements will be gathered from the specified sensor, and all will be averaged into one logged data point.