LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I want to move the location of the user.lib directory

Is there any way to modify the location of the user.lib directory? For example would it be possible to move it from /user.lib to c:\user.lib.

Thank you
0 Kudos
Message 1 of 6
(3,853 Views)
A little bit more elaboration on the question...

We have to use a CVS (WinCVS) repository for all the software we develop and I'd like to add my labview code to this repository.
Most of the code I develop is made of libraries for
"home made" instruments and I like to have this code under the user.lib directory so that it is easier to develop higher level VIs using this basic libraries.
From here is the necessity to be able to move the user.lib directory under the CVS repository.

Any suggestion is more than welcome....

Thanks
0 Kudos
Message 2 of 6
(3,853 Views)
The CVS repository is under the management of the CVS application to store file revisions and history information. You shouldn't have directly access to the repository to put your VIs from user.lib.

Usually, you work in your sandbox directory to edit your files and VIs and then commit your changes to the CVS application that takes care to copy your changes in the repository.

Now your local work directory can be anywhere you wish. the user.lib directory has nothing special except that by default, it is synched with a menu palette and put in the VI Search paths list. If you want to work elsewhere, just edit the palette menu to have this other directory synched with a menu and add the directory on the VI Search Paths list. You'll get the same f
unctionality than the user.lib directory.


LabVIEW, C'est LabVIEW

0 Kudos
Message 3 of 6
(3,853 Views)
> We have to use a CVS (WinCVS) repository for all the software we
> develop and I'd like to add my labview code to this repository.
> Most of the code I develop is made of libraries for
> "home made" instruments and I like to have this code under the
> user.lib directory so that it is easier to develop higher level VIs
> using this basic libraries.
> From here is the necessity to be able to move the user.lib directory
> under the CVS repository.
>

You should be able to move user.lib, but there will be a few things that
will behave differently. Depending on how important they are, you can
make a few changes to get things back to normal.

I'll probably miss a few things, but here are some of the differences
you will notice. The first is that the
palette menu will probably need
to be fixed. The palette menu editing has changed a few times, but it
should either be available from the Edit menu, the Tools menu,
Tools>>Advanced, or by clicking on the ... button on the palette.

From the palette menu editor, you can add another palette and you can
make it auto-update with the new directory. This should give you easy
access to the contents, just like the normal user.lib directory.

or the directory that contains the lib directories is also used
when loading and searching for VIs. You will likely want to go to
Tools>>Options and on the Paths page, add your new user.lib to the
search path.

Greg McKaskle
0 Kudos
Message 4 of 6
(3,853 Views)
Thank you for your answer it was very helpful!
0 Kudos
Message 5 of 6
(3,853 Views)
Thank you for your answer it was very helpful!
0 Kudos
Message 6 of 6
(3,853 Views)