LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

OPC UA client cannot connect to PLC

Hi there,

 

Has anybody used the OPC UA client that is part of the DSC toolkit? I am trying to use it to connect to a PLC and am getting error -336653 "The status of the OPC UA server is uncertain"

 

I am able to create a local OPC UA server in LabVIEW and connect to this with no issues from the LabVIEW OPC UA client, and can connect to the PLC just fine using a different client.

 

After speaking with NI it looks like this may be a permission issue, but I have tried all the obvious things in the OPC UA client (like client and server certificates), with the same result.

 

Any tips?

Message 1 of 4
(4,162 Views)

Hi,

we've developed an OPC DA 3.0 client in Labview and we had similar problems.

 

Then we added "ole.AuthnLevel=1" in the LabVIEW,ini file (and in the built exe application) and it worked.

 

Maybe this also helps you ...

 

Best regards

Hans

Message 2 of 4
(3,910 Views)

Hello

 

Have you resolved the Problem with the ole...? 

0 Kudos
Message 3 of 4
(2,720 Views)

It was fixed for me by using an updated version of the OPC UA client DLL which NI provided. This was back in 2015 so I presume the fix has been rolled into the most recent version.

0 Kudos
Message 4 of 4
(2,711 Views)