ReadStreamRecords
Syntax
METHOD ReadStreamRecords : BOOL
VAR_INPUT
stCmd : REFERENCE TO T_ALY_SPReadStreamRecords_Cmd;
tSearchTimeout : TIME := TIME#5s0ms;
aStreamRecords : POINTER TO T_RecordTimestamps;
nRecordCount : DINT;
END_VAR
Inputs
Name | Type | Description |
---|---|---|
stCmd | REFERENCE TO T_ALY_SPReadStreamRecords_Cmd | Json command to retrieve recordings of a historical stream from TwinCAT Analytics Storage Provider |
tSearchTimeout | TIME | Waiting time for the response |
aStreamRecords | POINTER TO T_RecordTimestamps | Recordings read out |
Return value
Name | Type | Description |
---|---|---|
ReadStreamRecords | BOOL | Is TRUE when completed |
nRecordCount | DINT | Number of records read out |