LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Create new project with vi's from old project

Solved!
Go to solution

So I have this "project" I have been working from for quite some time. I know I should not have done it but to save time I reused a lot of code from the original project for a few other tests. So I just kept adding directories to this one project.

 

Now I need to take a few of the top level vi's and make them a separate project so I can store the source with the other files  on our network in the actual engineering project folder.

 

The top level vi's are easy, but how do I make sure I get all the lower level vi's and dependencies?

 

I mean besides starting with the top level and moving it, then running to see what is missing?

 

Is there an easy way?

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 1 of 2
(2,255 Views)
Solution
Accepted by topic author RTSLVU

Use a "Source Distribution" in the projec that contains the top level VI(s) and configure it to "preserve hiarchy".

 

When the surce distribution is built it will pick up the top level VIs and along with all of  the sub-VIs move them to the new location and relink everything to point at the new location.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 2 of 2
(2,246 Views)