T_ALY_SPReadStreamRecords_Cmd

T_ALY_SPReadStreamRecords_Cmd 1:

Syntax

Definition:

FUNCTION_BLOCK T_ALY_SPReadStreamRecords_Cmd EXTENDS T_ALY_JsonPayload
VAR_INPUT
    sStreamTopic  : STRING(255);
    sStreamSystemID : GUID;
    sStreamLayout : GUID;
    nRecordStartIndex : DINT;
    nMaxRecordCount : DINT;
    sResultTopic : T_MaxString;
END_VAR

Inheritance hierarchy

T_ALY_JsonPayload

    T_ALY_SPReadStreamRecords_Cmd

T_ALY_SPReadStreamRecords_Cmd 2: Inputs

Name

Type

Description

sStreamTopic

STRING(255)

Topic name of the recorded live stream.

sStreamSystemID

GUID

SystemID of the target system from where the live stream was sent

sStreamLayout

GUID

Layout GUID of the recording

nRecordStartIndex

DINT

Start index of the first record to be read.

nMaxRecordCount

DINT

Total number of records to be read.

sResultTopic

T_MaxString

Topic name of the result stream

T_ALY_SPReadStreamRecords_Cmd 3: 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