The “Accumulation Processor” is installed with the Dataristix Application. The processor accumulates each connected input value over time using a selected function.
If an input value is a one-dimensional array then the accumulated value is calculated over all array elements of the input value over time.
If an input value is of “uncertain” quality then the output value will also be of uncertain quality.
If an input value is of “bad” quality then the output value will also be of bad quality.
Add to Task¶
Add the “Accumulation Processor” to a task by dragging it from the “Build” panel onto the task’s “Task Builder” panel.
Select the “Accumulation Processor” item in the “Task Builder” panel to view its properties.
You can change the following properties:
- The title of the “Accumulation Processor” as it appears within the task builder.
- Accumulation Function
- Count (number of samples)
- Standard Deviation (Population)
- Standard Deviation (Samples)
Press the “Apply” button to commit your changes.
The following example shows a task that calculates the average of OPC UA value inputs “Random1”, “Random2” and “Random3” over one minute while accumulating values every second before storing the accumulated data into a file.
The Interval Timer is used to send a one-second signal as an incrementing counter. The Signal value is connected to the Trigger Accumulation input of the Accumulation processor to accumulate values every second.
A 60 second interval is derived from the same timer by using the Modulo math processor. When the modulo value reaches zero after one minute then the connected Trigger processor passes the Signal value onto the Trigger Result input of the Accumulation processor. Since the Signal value always changes, it will trigger the accumulation result to be calculated and passed onto the CSV processor for storage.