Configure
Configuring the algorithm.
Syntax
Definition:
METHOD Configure : BOOL
VAR_INPUT
sConfigId : STRING;
sDataKey : STRING;
tInterval : LTIME;
bIncludeTimestamps : BOOL;
nBufferSize : UDINT;
bBufferOnEvent : BOOL;
END_VAR
Inputs
Name | Type | Description |
---|---|---|
sConfigId | STRING | Indicates the name of the report. The name must correspond to the name of the configuration file at the Reporting Server. |
sDataKey | STRING | The data key should be unique within a report. The data object can be uniquely assigned to the report via the data key. |
tInterval | LTIME | Time interval at which the data should be sent to the Reporting Server. |
bIncludeTimestamps | BOOL | Inserts a column with the timestamps. |
nBufferSize | UDINT | Indicates 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. |
bBufferOnEvent | BOOL | Indicates how the data is to be collected and buffered. |
Return value
Name | Type | Description |
---|---|---|
Configure | BOOL | Returns |