LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Application Directory.vi - load error code 17. "Could not load VI's link information" when placing a VI to execute in the LabVIEW\Project folder

I'm placing my VI scripting VIs in a folder under <labVIEWInstallLocation>\Project in order to provide a drop down menu in the IDE via the tools menu.  When one of my VIs is loaded I get the following Dialog message.

 

"An error occured loading VI 'Application Directory.vi'.  LabVIEW load error code 17:  Could not load VI's link information.

 

After clicking OK, my VI loads and can be invoked successfully.  So this error dialog doesn't affect the ability to execute my VI.

 

The VI labVIEW is complaining about is one that ships with labVIEW, and is located in the file.llb package under the following path;

 

C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Utility\file.llb

 

Using labVIEW 2012.  

 

 

 

0 Kudos
Message 1 of 5
(4,337 Views)

Hey meks,

 

This is a pretty unusual error, but it sounds like a file might be missing or corrupted. You could try a repair install of LabVIEW, as described here:

 

http://digital.ni.com/public.nsf/allkb/FE6B641E86E55AF2862576DE00038001?OpenDocument

 

I hope that helps, and just reply if you're still having problems.

 

Thanks,

0 Kudos
Message 2 of 5
(4,304 Views)

I tried this on three different dev machines that had labVIEW 2012 installed so I'm pretty sure it isn't an installation issue.  The llb file is present on all systems, and one can open the embedded Application Directoy VI successfully.

 

The VI was compiled against my own packaged library file located in a relative location two folders down from the VI.  If I setup this same relative location in the project folder (toprevent the search to user.lib or the local folder when trying to find this .lvlibp) everything loads successfully.

 

This is my current workaround to prevent the error dialog from being displayed.  I'm not sure why it is failing when it resolves this lvlibp from a different location.

0 Kudos
Message 3 of 5
(4,299 Views)

meks,

 

You could check the LabVIEW VI search path settings at Tools > Options > Paths, and make sure those settings are configured correctly to look in the directory where your library is located. If you explicitly add that folder path to the VI search path, it might be more likely to find the lvlibp at startup.

0 Kudos
Message 4 of 5
(4,288 Views)

I added files in the Japanese version of the operating environment, and got the Chinese version of the operating environment to execute, the above error occurred, you can debug in this direction.

0 Kudos
Message 5 of 5
(3,048 Views)