GetData
Syntax
METHOD GetData : BOOL
VAR_INPUT
nElement : UDINT;
pInputs : PVOID;
nInputsSize : UDINT
END_VAR
VAR_OUTPUT
nTimestamp : ULINT;
nContext : DWORD;
END_VAR
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 |
Outputs
Name | Type | Description |
---|---|---|
nTimestamp | ULINT | Timestamp data |
nContext | DWORD | Data context |
Return value
Name | Type | Description |
---|---|---|
GetData | BOOL | Is TRUE if a new element is selected |