LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Save Project As option?

Solved!
Go to solution

I have a LabVIEW project that I want to use as the baseline for a new project.  LabVIEW 2022 Q3 (32-bit) does not have a Save Project As option.  Not even a "greyed out."

 

To create this new project, is it just a matter of copying everything into a new project folder and renaming any files that need renamed?

0 Kudos
Message 1 of 11
(1,165 Views)

Technically it's just called "Save As", not "Save Project As", on my version 20 installation-

 

BertMcMahan_0-1689092592599.png

 

 

Did they take that out at some point?

0 Kudos
Message 2 of 11
(1,149 Views)

I have the same pull down menu.

 

I interpreted that as a "file" Save As, and not a "project" Save As.

 

I'll look at it again though.

0 Kudos
Message 3 of 11
(1,142 Views)

Note that the "save as" option there creates a new ".lvproj" file but nothing else.  It sounds a bit like you want to create a copy of every file, not just the ".lvproj" file.

 

If you use some LabVIEW code you can create copies of everything in your project.  Here's code I created to copy one of my projects:

Kyle97330_0-1689095119590.png

This was for a particular project where I only wanted to copy contents of virtual folders 1 deep, plus classes.  It also copied the stuff into a kind of weird folder structure, but it did do the copying of everything.  If this is what you need, you could start there and then move the files it copies if you don't like their new locations.

0 Kudos
Message 4 of 11
(1,131 Views)

Thanks for the code suggestion.  

 

I tried Save As and yeah, that's not what I was thinking. It copied my original project folder structure into the new folder.  It also made copies NI specific folders from Program Files and Program Files (x86) folders in the new folder I created.  

 

 

0 Kudos
Message 5 of 11
(1,117 Views)
Solution
Accepted by topic author stgislander

If you select "Save As" then "Duplicate .lvproj file and contents" it will re-create everything in that project, which it sounds like is what you wanted with the exception of the NI stuff. Choose the "Select contents to copy" button and de-select the NI stuff and it'll just make a duplicate of your project, but it will have the names and locations right so you don't wind up with a bunch of warnings that items were found in new locations (which can happen if you just copy/paste the project folder).

Message 6 of 11
(1,099 Views)

That worked better than my first attempt.  Now I just have a lot of .ctl file conflicts to resolve.

0 Kudos
Message 7 of 11
(1,080 Views)

Another option is to "save for previous" and pick the same version. Make absolutely sure that all relative paths are clean, though, else you get very deep hierarchies.

0 Kudos
Message 8 of 11
(1,029 Views)

I want to thank everyone for the great suggestions.  After cleaning up the conflict resolutions, I've got a "new" project.

0 Kudos
Message 9 of 11
(1,024 Views)

@stgislander wrote:

I want to thank everyone for the great suggestions.  After cleaning up the conflict resolutions, I've got a "new" project.


Just curious how you cleaned it up.  Usually I just delete the original so all ties to it are broken.  (I can always recall the original from GIT/SVN.)

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 10 of 11
(1,008 Views)