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_Read
RTS_IEC_RESULT
Input
hConnection
RTS_IEC_HANDLE
Handle to the connection where to send the read request.
maxAge
LREAL
Maximum age of the values to be read.
timestampsToReturn
OpcUa_TimestampsToReturn
The type of timestamps that should be returned by the server.
pNodesToRead
POINTER TO OpcUa_ReadValueId
Pointer to an array of nodeID and attributes to read.
numNodes
OpcUa_Int32
Number of nodes to read.
iReadCallback
IOPCUAClientDataAccessCallback
Callback interface to get the results.