LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

OPC UA connection problem

Hi,

    I'm trying the OPC UA Toolkit toconnect with some devices on my LAN.
Using UAExpert with anonymous connection and security policy to None I can connect but it says:

gepponline_0-1714478160453.png

And it seems to load an its own certificate.


 So I'm trying using a simple connect and disconnect VIs, inserting the same address to the server endpoint URL input and a TRUE constant at trust any server input but I get an "Unable to locate the host" error

gepponline_2-1714479098348.png

 

gepponline_1-1714478852771.png

If I set not to trust any server I get

gepponline_3-1714479172538.png

 

 

 

What should I do to make it work? Is there a  certificate file valid for all server or something similar?
thank you

0 Kudos
Message 1 of 2
(91 Views)

@gepponline wrote:

Hi,

    I'm trying the OPC UA Toolkit toconnect with some devices on my LAN.
Using UAExpert with anonymous connection and security policy to None I can connect but it says:

gepponline_0-1714478160453.png

And it seems to load an its own certificate.


 So I'm trying using a simple connect and disconnect VIs, inserting the same address to the server endpoint URL input and a TRUE constant at trust any server input but I get an "Unable to locate the host" error

gepponline_2-1714479098348.png

 

gepponline_1-1714478852771.png

 

 

What should I do to make it work? Is there a  certificate file valid for all server or something similar?
thank you


You can try to create certificate — Creating or Renewing OPC UA Certificates Using the LabVIEW OPC UA Toolkit (but you will need to transfer this certificate to the server in my understanding).

 

Unable to locate host error looks strange for me.

In case of wrong port you will get this:

2024-04-30 14.45.34 - .jpg

and in case of wrong IP address that:

2024-04-30 14.46.35 - .png

0 Kudos
Message 2 of 2
(66 Views)