IConnectionDiagnostics.GetInstancePointer (METH)ΒΆ
METHOD GetInstancePointer : POINTER TO ConnectionDiagnostics
Converts the Interface Reference to the Instance Pointer
The InstancePointer can be used to access the value of each output variable.
Example
pConnectionDiagnostics : POINTER TO ConnectionDiagnostics;
pDiagnosticsCounter : POINTER TO DiagnosticsCounter;
udiValue : UDINT;
pConnectionDiagnostics := itfDiagnostics.GetInstancePointer();
pDiagnosticsCounter := pConnectionDiagnostics^.itfTotalError.GetInstancePointer();
udiValue := pDiagnosticsCounter^.udiValue
- InOut:
Scope
Name
Type
Return
GetInstancePointer
POINTER TO ConnectionDiagnostics
Output
eErrorID