Error -356739 Creating Multiple OPC UA Servers in the Same Target Using LabVIEW

Updated Sep 19, 2024

Reported In

Software

  • LabVIEW OPC UA Toolkit
  • LabVIEW

Issue Details

I want to create multiple OPC UA servers in the same target device. Create VI stated I can create multiple OPC UA servers on the same target with different ports. So, I have created the server using two Create VI in the same VI or in two different VI, however, I got the following Error -356739 occurred at NI OPC UA Server.lvlib:Create.vi:6800002 message as below:
2024-09-12_14h26_27.png

Is this expected behavior and how to solve this issue?
 
 

Solution

The OPC UA Toolkit only supports one server application per process. When creating the two OPC UA servers in the same target using the same VI or two VIs, the only process is LabVIEW. To achieve your goal, you will need to create a separate process for each OPC UA server. 

In LabVIEW, this can be translated to LabVIEW executables. Create one LabVIEW executable for each OPC UA server desired.

Note: Each OPC UA server must use a different port.