07-28-2022 03:21 AM
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
Solved! Go to Solution.
07-28-2022 02:31 PM
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
07-28-2022 02:32 PM - edited 07-28-2022 02:34 PM
This is an OPC problem, not external call issue.
You need install/setup (license?) OPC on the other PC.