LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

file management: relinking icons to files in my directory

Hello!

I wanted to unbundle a library of vi's into its separate files, so I created a new directory, went through the vi hierarchy, and exhaustively saved each of the vi's to my new directory. This turned out to be about 46 vi's. However, when I tried to work in my new directory in the top level program, the icons pointed to the library of the old directory. I would like them to point to the saved files in my new directory. So far, all I can think of doing is a "replace" with a dialog box to hand-select the desired vi inside my new directory. This will be very time-consuming... So I would like the top level program to link all the subVI calls (in the form of square icons) to "*.vi" files in my NEW dire
ctory. Is there a faster way to do this? They all have the same name, just the wrong path.

yours,

Raj Sodhi
0 Kudos
Message 1 of 3
(2,544 Views)
> I wanted to unbundle a library of vi's into its separate files, so I
> created a new directory, went through the vi hierarchy, and
> exhaustively saved each of the vi's to my new directory. This turned
> out to be about 46 vi's. However, when I tried to work in my new
> directory in the top level program, the icons pointed to the library
> of the old directory. I would like them to point to the saved files
> in my new directory. So far, all I can think of doing is a "replace"
> with a dialog box to hand-select the desired vi inside my new
> directory. This will be very time-consuming... So I would like the
> top level program to link all the subVI calls (in the form of square
> icons) to "*.vi" files in my NEW directory. Is there a faster way to
> do t
his? They all have the same name, just the wrong path.
>


The quicker way to do this is to load the VIs from the LLB and under the
File menu, select the Save with Options... item. One of the options is
to save a development distribution. The file dialog will come up where
you can choose or make a new folder and the VIs will all be saved
within. You might also want to look at the tool in the Tools menu
called the Librarian or the VI Library Manager.

Greg McKaskle
0 Kudos
Message 2 of 3
(2,544 Views)
To get your top level vi to point to the vis in new directory you could close the top level vi, then move the llb off the computer, or rename it. When you reload the top level vi you should get a dialog that is looking for the subvis, just point it to the vi in the new directory. Then save your top level vi and it should point to all the vis in the new directory next time you load it.

Good luck!

Brian
Message 3 of 3
(2,544 Views)