T_ALY_HistoricalStream_Desc

T_ALY_HistoricalStream_Desc 1:

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

Inheritance hierarchy

T_ALY_JsonPayload

    T_ALY_HistoricalStream_Desc

T_ALY_HistoricalStream_Desc 2: 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

T_ALY_HistoricalStream_Desc 3: Methods

Name

Definition location

Description

Reset

 

Reset all values in the payload FB.

Init_JsonValue

Inherited from T_ALY_JsonPayload

Initialization of the FB with JSON object.

Init_String

Inherited from T_ALY_JsonPayload

Initialization of the FB with JSON string.

GetJsonLength

Inherited from T_ALY_JsonPayload

Get the length of the 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