JT wrote:
> I have one other question that's been plagueing me:
> It seems that LV remembers where you copy backups for your VI's and then
> tries to use the backup copies the next time you open the top VI's
> instead of pulling them from the original directories.
Well, LabVIEW remembers subVIs as follows: If the subVI is on the same
volume as the caller, then LabVIEW stores the relative path from the
caller VI to the subVI in the caller.
This means that if you copy an entire hierarchy of VIs to some other
place, LabVIEW will pick up the subVIs from the new place as well if
they were in the directory hierarchy you copied.
If the subVI is on another volume than the caller, LabVIEW will store
the absolute path to the subVI in the caller.
Now there is one thing which can mess up your calling hierarchy and that
is LabVIEWs search order. Basically when LabVIEW needs a subVI, the
first thing it will do before even looking at the path where that subVI
is supposed to be located, it will check if a VI with the same name is
already in memory. If so it will relink to that VI instead of the one on
disk if its location is different and when you close the main VI you
will get a dialog prompting you to save the changes in memory which will
include relinkings to other VIs. If the needed subVI is not in memory
LabVIEW will try to load it from where it was last stored (relative to
the caller if on the same volume and absolute if on a different volume).
If the VI can't be found LabVIEW will go and search its search paths.
They are default (you can change that in the Options including the order
of them) as follows:
1) The directory where the Top Level VI of the current hierarchy is located.
2) The directory where it already found other VIs before when searching.
This can be automatically or pointed to it by you in a previous search
VI dialog.
3) In the vi.lib directory and its subdirectories.
3) In the user.lib directory and its subdirectories.
4) in the instr.lib directory and its subdirectories.
If LabVIEW still can't the VI it will prompt you for the VI in a file
dialog and the path you select there will be added to the list of paths
searched in step 2) above.
Rolf Kalbermatter
Rolf Kalbermatter
My Blog 
DEMO, Electronic and Mechanical Support department, room 36.LB00.390