OPCUAClient_ReadLongValue


Reads an up to 64bit Integer compatible value of a variable node from a OPC UA server.

Syntax

C++
Python
 
def OPCUAClient_ReadLongValue(
	inNodeId: OpcUaNodeId,
	/,
	*,
	inConnectionId: int = 0,
	inAcceptBadStatus: bool = False
)
-> (
	outValue: int | 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 int | 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