LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

OPC UA Server Multiple Servers in same device/PC

I want to create multiple OPC UA servers in the same device (PC or cRIO).

I got the following error message:

Error -356739 occurred at NI OPC UA Server.lvlib:Create.vi

Possible reason(s):

OPC UA Toolkit: An OPC UA server is already created. The LabVIEW OPC UA Toolkit only supports one server application per process.

 

I saw the Create.vi is reentrant but only one session is allowed, something ambiguous here?

The help also indicates that we can create multiple servers as long as the ports are different. Am I missing something here?

 

TCP port specifies the TCP port that the OPC UA server takes. The default is 49580. If the port that you specify is occupied, this VI is unable to create an OPC UA server. You can create multiple OPC UA servers on the same target with different ports.

 

Anyway, I can create one session and update my folder structure, but this question remains.

 

Thanks.

Thanks & Regards,
Irfan
(CLD)
https://haliatech.com/
0 Kudos
Message 1 of 1
(271 Views)