Configure
Configuring the algorithm.
Syntax
Definition:
METHOD Configure : BOOL
VAR_INPUT
sConfigId : STRING;
sDataKey : STRING;
tTimeOn : LTIME;
nDayOfWeekMask : WORD;
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. |
tTimeOn | LTIME | Indicates the switch-on time. |
nDayOfWeekMask | WORD | Indicates the days of the week when the timer should be active. |
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 |