LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error code "-356698" when connecting to opc server from executable

Hi,

 

I am trying to connect to a matrikon OPC server using my an executable I built using the OPC UA toolkit, the problem I am having is when I run the .exe file on a computer with no labview installed. If I run the VI on my own computer which has everything installed I can successfully connect. The error code I am getting is the errror code -356698 "Unable to locate the host. Ensure the hostname is valid or use the IP address". Could this error be due to a toolkit I am missing when building th exe? If so, which ones could cause this error?

0 Kudos
Message 1 of 2
(87 Views)

The OPC UA Toolkit requires a runtime license on every computer you want to use it. On your development machine, the development license also includes a runtime license to let you run the build executable.

 

https://www.ni.com/nl-nl/shop/product/labview-opc-ua-toolkit.html

Rolf Kalbermatter
My Blog
0 Kudos
Message 2 of 2
(45 Views)