LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview Library Files

Hello I got a question when using library files in labview. Currently I am
using some of the library functions on my programs. Serveral of my labview
programs shares the same labview library file, but the problem is that everytime
the labview program executes it tries to search for the library files on the
whole hardrive. Since I have serveral versions of the library files in my
harddrive it sometimes relinks to the older versions of my libraries. My
question is that how can i link the vi's in my program to a specific location of
a library file in my harddrive instead letting the labview program search for my
harddrive everything it runs.

Thank You
Peter
0 Kudos
Message 1 of 4
(2,800 Views)
That happens because the library location has moved since the last time the callers VIs have been saved.
To begin with, in the LabVIEW options, under Path/VI Seach paths, add an entry to the current location of your library. The next time you will load the callers VIs, that location will be searched before looking the whole hard drive. When all VIs are correctly linked, save all your VIs. Once the callers are saved with their subVIs at their correct location, the subVIs won't be searched again.
Another way is to load in memory all current subVIs before loading the callers. The callers will link to the VIs version in memory first. Again save all VIs.


LabVIEW, C'est LabVIEW

0 Kudos
Message 2 of 4
(2,800 Views)
You can control what is searched by going to the Tools>> Options dialog.
Go to the Paths page, select the search paths and limit them to what
you believe that LV should search. Keep in mind that LV will first look
in memory for the VI, then it will look where the VI was last saved,
then it will start using the search paths.

Greg McKaskle
0 Kudos
Message 3 of 4
(2,800 Views)
Thanks for the help Jean and Greg, I got the library linking properly right now.
0 Kudos
Message 4 of 4
(2,800 Views)