OPCUAClient_Read (FUN)
FUNCTION OPCUAClient_Read : RTS_IEC_RESULT
This function sends a Read request to the OPC UA server. Several operations can be done in one call. The results of the operation are returned by an callback interface.
- InOut:
Scope
Name
Type
Comment
Return
OPCUAClient_ReadRTS_IEC_RESULTInput
hConnectionRTS_IEC_HANDLEHandle to the connection where to send the read request.
maxAgeLREALMaximum age of the values to be read.
timestampsToReturnOpcUa_TimestampsToReturnThe type of timestamps that should be returned by the server.
pNodesToReadPOINTER TO OpcUa_ReadValueId
Pointer to an array of nodeID and attributes to read.
numNodesOpcUa_Int32Number of nodes to read.
iReadCallbackIOPCUAClientDataAccessCallbackCallback interface to get the results.