From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

When making an .exe, what exactly should I do with the subVIs?

Solved!
Go to solution

This should be a really simple question to those experienced in LabVIEW, but how should I load the subVIs I've used into the project template. They are already in the dependency folder (I'm guessing because I made them in this current VI), so will I need to include them a second time so when I can assign them to the "always included" section of the source files?

 

Thanks

0 Kudos
Message 1 of 3
(2,449 Views)
Solution
Accepted by topic author GV_KawaiiDesu

The simple answer is nothing.  You shouldn't need to do anything with the SubVIs.  Compiling automatically includes dependencies.

 

LabVIEW is smart enough to find the SubVIs you're using and include them all by itself.  The only time it needs you to manually include files is if you're doing advanced programming techniques such as dynamically calling VIs or other similar things where not all of the files you need are statically referenced.

Message 2 of 3
(2,417 Views)

thanks, I always underestimate how much LabVIEW does for you

0 Kudos
Message 3 of 3
(2,409 Views)