LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

OPC UA client side(Labview) connect to OPC UA Server (Codesys) issue

Hi :
I want to use OPC UA solution to access data between two computers LabVIEW(Labview 2015, DSC mode 2015) and Codesys (V3.5 SP9) .

The client side is LabView and server side is Codesys. 
I am sure server side work fine because I can use third party UAexpert that can access data.

Question 1 : Can this solution work between LabView and Codesys ?

 

Question 2 : If question 1 is yes ,I wrote a basic client side of Labview sample program to access server data.

This sample program use three VI , OPC UA (1)connect.vi  (2)Read.vi (2) Write.vi

Now I got a problem . The connect.vi can connect  server (endpoint URL is correct , error code is 0) , but it shows Node path does exist (-356677) as attachment.
I tried many path ,it still failed. How can I get Node path or My sample problem is wrong ?
Thank you.

 

0 Kudos
Message 1 of 3
(3,603 Views)

The way your code is written now with the BLANK node path and merged errors and then the Shift Register to pass the error back around to the start of the loop again is probably the issue.

The Write is going to generate the error since the Node input is blank - then that error will propagate to every subsequent loop cycle

Ryan Vallieu CLA, CLED
Senior Systems Analyst II
NASA Ames Research Center
Message 2 of 3
(3,220 Views)

Dear Friend

I am facing the same issue. 

Were you able to solve it. ? Would love to hear from you on the same. 

Thanks 

0 Kudos
Message 3 of 3
(1,753 Views)