OPCUAClient_ReadByteBufferValue


Reads a ByteString compatible value of a variable node from a OPC UA server.

Syntax

C++
Python
 
def OPCUAClient_ReadByteBufferValue(
	inNodeId: OpcUaNodeId,
	/,
	*,
	inConnectionId: int = 0,
	inAcceptBadStatus: bool = False
)
-> (
	outValue: ByteBuffer | None,
	outStatusCode: int,
	outSourceTimestamp: int,
	outServerTimestamp: int
)

Parameters

Name Type Range Default Description
Input value inConnectionId int 0 - 99 0 Slot id of the open connection to the server
Input value inNodeId OpcUaNodeId Id of the variable node to read the value from
Input value inAcceptBadStatus bool False Accept variable value read Bad status code without generating an error
Output value outValue ByteBuffer | None The value read from the variable node
Output value outStatusCode int OPC UA status code of the variable value reported by the server
Output value outSourceTimestamp int OPC UA UtcTime value source timestamp reported by the server
Output value outServerTimestamp int OPC UA UtcTime server timestamp