Reporting Collector Edge
The Reporting Collector Edge collects the data from the input channels and sends the data to the Reporting Server after an event or after the buffer is filled, depending on the configuration. An event is triggered when the signal of the input channel passes the configured edge at a certain threshold.
Optionally, a Boolean signal can be selected for the Enable Execution input so that the algorithm is only active if the value of the selected signal is TRUE.
Configuration options
- Type of the edge: Specifies whether the edge counter should respond to a rising or falling edge.
- Threshold: Threshold of the signal at the respective edge. The event is triggered when the signal passes this threshold.
- Tolerance (optional): Tolerance value for the Equal / NotEqual comparisons.
- Report Name: specifies the name of the report. The name must correspond to the name of the configuration file at the Reporting Server. The drop-down menu displays all report names that are located in the Configuration folder of the Reporting Server. The Edit button can be used to edit the selected configuration file.
- Data Key: the data key should be unique within a report. The data object can be uniquely assigned to the report via the data key.
- Buffer Size: specifies the size of the buffered data. If the buffer size is equal to one, a key-value structure is built. If the buffer size is greater than one, the data is presented in a table.
- Buffer on event: specifies how the data is to be collected and buffered.
If the parameter is True, the data of the inputs is buffered at each edge signal at the input. As soon as the Buffer Count output has the same value as the Buffer Size parameter, the data is sent to the TcReportingServer.
If the parameter is False, the data of the inputs are buffered in the buffer at each cycle. Once the buffer size is reached, the new data replaces the previous data. If there is an edge signal at the input, the data is sent to the TcReportingServer. - Num Channels: the number of input channels from which the data will be collected. And the number of parameters to allow a description of the input channels.
- Alias Name: serves as a description of the input channel. BufferSize = 1: the alias name serves as a key in the key-value structure. BufferSize > 1: the alias name serves as the heading of the table column.
- Include Timestamps (optional): inserts a column with the timestamps.
Output values
- Last Message: indicates when the last message was sent to the Reporting Server.
- Buffer Count: specifies the number of elements in the buffer.