The Dynamic Stream components are used to properly handle the calculation of rolling sums in a user process.
Dynamic Stream
The Dynamic Stream component calculates the rolling sum of the input data set and forwards the result to the output pin.
Properties
Dynamic Stream Name
The name of the Dynamic Stream component that is to have its data cleared.
Outputs
The output pin is used to invoke a component that will perform some processing. This component is essentially designed as an input component, which may be linked to the following data components:
Example
In the following example, the component labelled ‘Exceedances’ is the Dynamic Stream component. If the Input value is greater than the Limit, the value is written to the Exceedances dynamic stream. If the number of values in the dynamic stream is greater than the Exceedance Count Limit, an event is raised and the state changes to the Exceedance breech state. If during subsequent processing an event is raised that then changes the state back to Default, the Exceedances dynamic stream is purged.
Purge Dynamic Stream
The Purge Dynamic Stream component clears all data in the specified Dynamic Stream.
Properties
Dynamic Stream Name
The name of the Dynamic Stream component that is to have its data cleared.
Inputs
The component that acts as a trigger for this component should be connected to this pin.
Outputs
The output pin is a flow pin that directs the process flow but does not pass any data. This pin is optional and is only followed if an error does not occur. Not connecting this pin will produce a warning.
Write Dynamic Stream
The Write Dynamic Stream component writes a point of data to a nominated Dynamic Stream.
Properties
Dynamic Stream Name
The name of the Dynamic Stream that is to be written to.
Inputs
The component that acts as a trigger for this component should be connected to this pin. This pin is optional.
The input pin is mandatory and is used to supply the data that is to be written to the Dynamic Stream. Not connecting this pin will produce an error.
Outputs
The output pin is used to join the component to the rest of the process flow. Not connecting this pin will produce a warning.