LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Documentation on relative paths for shared libaries is wrong

Here's the document in LabVIEW help: https://www.ni.com/docs/en-US/bundle/labview/page/specifying-the-location-of-shared-libraries-on-dis... It says:

 

"Specifying a shared library by name is not the same as specifying a relative path to a shared library within the same directory as the calling VI. To specify the latter, enter ./ shared library name as the path to the shared library."

 

First of all, the forward slash syntax instead of the backslash (I'm on Windows) is sus but I tried that syntax with my DLL in the same folder as my VI and my VI breaks with this error.

 

"Library not found or failed to load. The library specified for this node cannot be found or cannot be loaded. Right-click the Call Library Function node and select Configure, then choose the correct library name or path."

 

I found this thread by a user who encountered the same issue: https://forums.ni.com/t5/LabVIEW/What-is-the-proper-way-to-specify-the-shared-library-location-in/td...

0 Kudos
Message 1 of 1
(522 Views)