04-28-2023 03:07 AM
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?
04-28-2023 03:11 AM - edited 04-28-2023 03:11 AM
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!
04-28-2023 03:57 AM
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.
04-28-2023 07:30 AM
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.
04-29-2023 09:38 AM
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!)
04-29-2023 12:38 PM
@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!)
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?
04-29-2023 02:09 PM - edited 04-29-2023 05:42 PM
@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. 😄