LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Change the path directory of a .lvlib file

Hello, how do I change the path of a .lvlib file? The .lvlib file I'm using loads from drive D, but I want it to load from a folder in drive C. How can I do that?

0 Kudos
Message 1 of 7
(1,197 Views)

Hi user,

 


@solarfacility_user wrote:

Hello, how do I change the path of a .lvlib file? The .lvlib file I'm using loads from drive D, but I want it to load from a folder in drive C.


Does LabVIEW expect the lvlib file itself in the wrong location?

Or do you want to relocate the VIs inside the lvlib, while the lvlib still stays on your D drive?

Or do you want to move the whole lvlib and all it's referenced VIs (and other stuff) to relocate to your C: drive?

 

Please be as clear as possible when asking for help!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 7
(1,196 Views)

I want the .lvlib file, as well as its referenced VI's to be moved to Drive C. Also, unfortunately, LabVIEW also expects the .lvlib file in drive D. I also want to change that so it expects the .lvlib file to load from drive C.

0 Kudos
Message 3 of 7
(1,176 Views)

From your project, right-click on the library and then "Save As".  This will let you save the library, and all of its associated files, to the location you want.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 4 of 7
(1,145 Views)

To move project files on disk, you can typically go to the "files" view and drag things to a new location. (still, be careful! Maybe other projects that are currently not open depend on things!)

 

 

altenbach_0-1682779054110.png

 

0 Kudos
Message 5 of 7
(1,110 Views)

@altenbach wrote:

To move project files on disk, you can typically go to the "files" view and drag things to a new location. (still, be careful! Maybe other projects that are currently not open depend on things!)

 

 

altenbach_0-1682779054110.png

 


Your "careful" advice is the scenario that I am particularly worried about here.  It seemed to be put in a non-standard area for a reason, and moving it without consulting the person who put it there is asking for trouble.  Not for this project - maybe - but for all those projects that depend on it being in the original place.

 

To the OP: What is so bad about leaving it alone?

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 6 of 7
(1,096 Views)

@billko wrote:
Your "careful" advice is the scenario that I am particularly worried about here.  It seemed to be put in a non-standard area for a reason, and moving it without consulting the person who put it there is asking for trouble.  Not for this project - maybe - but for all those projects that depend on it being in the original place.

Oh, yes. My typical scenario is that I do some forum stuff, then save one of my VIs and it might end up in the downloads folder instead of the project hierarchy by accident. Dragging it over in the files view is fastest to fix the problem. 😄

Message 7 of 7
(1,088 Views)