IWriterGroupDiagnostics.GetInstancePointer (METH)ΒΆ

METHOD GetInstancePointer : POINTER TO WriterGroupDiagnostics

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

Example

pWriterGroupDiagnostics : POINTER TO WriterGroupDiagnostics;
pDiagnosticsCounter : POINTER TO DiagnosticsCounter;
udiValue : UDINT;

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

Scope

Name

Type

Return

GetInstancePointer

POINTER TO WriterGroupDiagnostics

Output

eErrorID

ERROR