IReaderGroupDiagnostics.GetInstancePointer (METH)ΒΆ

METHOD GetInstancePointer : POINTER TO ReaderGroupDiagnostics

Converts the Interface Reference to the Instance Pointer
The InstancePointer can be used to access the value of each output variable.

Example

pReaderGroupDiagnostics : POINTER TO ReaderGroupDiagnostics;
pDiagnosticsCounter : POINTER TO DiagnosticsCounter;
udiValue : UDINT;

pReaderGroupDiagnostics := itfDiagnostics.GetInstancePointer();
pDiagnosticsCounter := pReaderGroupDiagnostics^.itfTotalError.GetInstancePointer();
udiValue := pDiagnosticsCounter^.udiValue
InOut:

Scope

Name

Type

Return

GetInstancePointer

POINTER TO ReaderGroupDiagnostics

Output

eErrorID

ERROR