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