LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Packaging Up VI and Sub VIs

Solved!
Go to solution

Hi All,

 

I have a top-level VI with a bazillion sub VIs.  What is the easiest way to package all the VIs up into a nice, transportable package that will let me run the top-level VI on another computer that has LabVIEW installed.


I tried making a project out of everything, but it looks to me like the project contains pointers to the VIs, not the VIs themselves.  Is there a way to have the project include all the associated VI files?


Or is it better to create an LLB?  If so, guidance down that path would be much appreciated.


Thanks in advance.

Forbes Black
Lapsed CLAD, LV 5 - LV 2022 (Yeah, I'm that old...)
0 Kudos
Message 1 of 7
(3,534 Views)

Have you tried using (in the project explorer - assuming you used the project) Build Specifications > New > Zip File? If not, just make sure under source files "Zip entire project" is selected.

 

Edit: Left out an important part - right click "My Computer" in the project and select "Add" > "File..."

Tyler C. | Certified LabVIEW Associate Developer

Message 2 of 7
(3,525 Views)

"right click "My Computer" in the project and select "Add" > "File..."

 

Thanks for the reply.  Does that mean I have to add all the sub VIs manually?

Forbes Black
Lapsed CLAD, LV 5 - LV 2022 (Yeah, I'm that old...)
0 Kudos
Message 3 of 7
(3,515 Views)

If they're all in the same place, no. You can select the folder they are located in (another option in the "Add" menu)...but if they are in different places, I'm afraid you will have to add them individually.

Tyler C. | Certified LabVIEW Associate Developer

Message 4 of 7
(3,512 Views)
Solution
Accepted by topic author diarmaede

If you go to your top level VI and go to save one of the options is save the entire hierarchy to a new location. This will save every VI that is called in your program. See below:

 

Example.png

Tim
GHSP
Message 5 of 7
(3,509 Views)

I stand corrected! I've seen that screen hundreds of times and never looked at that last option.

Tyler C. | Certified LabVIEW Associate Developer

0 Kudos
Message 6 of 7
(3,506 Views)

Wish I could accept both of your instructions as the solution, because the real solution lay in a synthesis of all ideas.  In any case, Kudos all around!

Forbes Black
Lapsed CLAD, LV 5 - LV 2022 (Yeah, I'm that old...)
0 Kudos
Message 7 of 7
(3,501 Views)