T_ALY_HistoricalStream_Desc
Syntax
Definition:
FUNCTION_BLOCK T_ALY_HistoricalStream_Desc EXTENDS T_ALY_JsonPayload
VAR_OUTPUT
sSource : STRING(255);
sStreamTopic : STRING(255);
sStreamAlias : STRING(255);
sStreamSystemID : GUID;
sLayout : GUID;
nCycleTime: UDINT;
nDataSize : UDINT;
arrRecords : ARRAY [0..cMaxRecordCount] OF T_RecordTimestamps;
END_VAR
Outputs
Name | Type | Description |
---|---|---|
sSource | STRING(255) | Data source name |
sStreamTopic | STRING(255) | Topic name of the recorded stream |
sStreamAlias | STRING(255) | Alias name of the stream |
sStreamSystemID | GUID | SystemID GUID of the stream |
sLayout | GUID | Layout GUID of the recording |
nCycleTime | UDINT | Cycle time of the recording |
nDataSize | UDINT | Data size of an entry of the recording |
arrRecords | ARRAY [0..cMaxRecordCount] OF T_RecordTimestamps | Timestamp of the various recordings |
Methods
Name | Definition location | Description |
---|---|---|
Reset |
| Reset all values inside of the payload FB |
Init_JsonValue | Inherited from T_ALY_JsonPayload | Initialize FB with Json object |
Init_String | Inherited from T_ALY_JsonPayload | Initialize FB with Json string |
GetJsonLength | Inherited from T_ALY_JsonPayload | Get Length of Json payload |
GetJsonString | Inherited from T_ALY_JsonPayload | Get Json payload as String |
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT v3.1.4022.25 | PC or CX (x64, x86, ARM) | Tc3_AnalyticsStorageProvider |