Product Features
...
Analytics
Statistical Functions

Moving Window

4min

The Moving Window processors perform calculations over a sliding or moving window of data from your PLC device.

Moving Window Overview

Single inputs are to be provided with the events type connection and then the respective functions are calculated as the names suggest.

Use one of the following processors for your inputs:

  • Moving Average gives you the average of the inputs values in the Flow.
  • Moving Maximum gives you the maximum value among the inputs in the Flow.
  • Moving Minimum gives you the minimum value among the inputs in the Flow.

The following information describes these processors:

  • For Field Name, you can enter the field name for which you want to apply the function. The field name must be available in all the inputs. For example, value deviceID, or success.
  • For Processing Type, you can select from floatsigned (signed integer) or unsigned (unsigned integer).
  • For Window Size, enter the number of values you want the function to consider.
  • Connect the input to the function using the events connection.
  • Connect the function to the output using the events connection.

Moving Window Parameters

Parameters

Details

Processing Type

This parameter refers to the data type of the value being processed.

Window Size

This parameter determines the size of the window in which calculations are performed. The window size represents the number of seconds over which the calculations are carried out.

Field Name

This parameter is usually left unchanged. It is used if the incoming data is of message type, and/or if a non-default "value" field name is being used.

Moving Average parameters
Moving Average parameters

Moving Maximum parameter
Moving Maximum parameter

Moving Minimum parameters
Moving Minimum parameters


Note: When creating an analytics flow with Moving Window processor, refer the Use the Moving Window Processor Function guide for more details.