IDiagnosticsCounter.GetInstancePointer (METH)ΒΆ

METHOD GetInstancePointer : POINTER TO DiagnosticsCounter

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

Example

pDiagnosticsCounter : POINTER TO DiagnosticsCounter;
udiValue : UDINT;

pDiagnosticsCounter := itfDiagnosticsCounter.GetInstancePointer();
udiValue := pDiagnosticsCounter^.udiValue
InOut:

Scope

Name

Type

Return

GetInstancePointer

POINTER TO DiagnosticsCounter

Output

eErrorID

ERROR