GetData

Syntax

METHOD GetData : BOOL
VAR_INPUT
    nElement    : UDINT;
    pInputs     : PVOID;
    nInputsSize : UDINT
END_VAR
VAR_OUTPUT
    nTimestamp  : ULINT;
    nContext    : DWORD;
END_VAR

GetData 1: Inputs

Name

Type

Description

nElement

UDINT

Element ID to obtain the specific sample

pInputs

PVOID

Pointer to the data structure

nInputsSize

UDINT

Size of the data structure

GetData 2: Outputs

Name

Type

Description

nTimestamp

ULINT

Timestamp data

nContext

DWORD

Data context

GetData 3: Return value

Name

Type

Description

GetData

BOOL

Is TRUE if a new element is selected