OPCUAClient_Connect


Establishes a connection to a OPC UA server

Syntax

C++
Python
 
def OPCUAClient_Connect(
	inEndpointURI: str,
	inUserName: str,
	inPassword: str,
	inSecurityMode: OpcUaSecurityMode,
	/,
	*,
	inConnectionId: int = 0,
	inExtendedLogging: bool = False
)
-> None

Parameters

Name Type Range Default Description
Input value inConnectionId int 0 - 99 0 Slot id to keep this connection in and distinguish from other connections in the application
Input value inEndpointURI str Server endpoint URI to connect to
Input value inUserName str
Input value inPassword str
Input value inSecurityMode OpcUaSecurityMode
Input value inExtendedLogging bool False Enables additional (debug) logging of the OPC UA client activity