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