LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 1097 calling external library

Solved!
Go to solution

I made a small programm to communicate with a OPC UA Server. The VI works fine, if i run it inside the developement system. It also works well, if i create an application and run it at the same computer, on which the developement system is installed.

 

If I try to run it on another PC (where the runtime is installed), I get an error 1097 "Node for calling external libraries in NI OPC UA Client.lvlib:Connect.vi->MAIN.vi"

 

Labview Version and Runtime version are both 2019.

 

On the way to find a solution, I already tried the following things:

at the developement system:

- place the OPC UA libraries in the project folder 

- add the OPC UA libraries to the field "always included" at the build-specifications

- place a checkmark in the "Inline subVI into calling VIs" checkbox on the Execution page of the VI Properties dialog box

at the PC with the runtime on it:

- place the .dll file ("ni_opcua.dll") in the same folder as the application 

- place the .dll file ("ni_opcua.dll") in the folder C:\Windows\System32

- place the whole OPC UA library in the same folder as the application 

 

 

0 Kudos
Message 1 of 3
(1,339 Views)
Solution
Accepted by topic author Test_Rig

I assume you are using the OPC UA Toolkit. Have you reviewed this KA for runtime installations?

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019QU4SAM&l=en-NZ 

0 Kudos
Message 2 of 3
(1,302 Views)
Solution
Accepted by topic author Test_Rig

This is an OPC problem, not external call issue.

 

You need install/setup (license?) OPC on the other PC.

 

George Zou
0 Kudos
Message 3 of 3
(1,301 Views)