LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Adding all vit's in a vi and adding that vi in the dynamic vi's and support files section

If I add all the vit's involved in a project and add that vi to the "dynamicallt loaded vi's and support files" section. Would it work properly in the executable. CAn I also add dynamically loaded vi's to the same vi? Any suggestions? Would the executable still work properly?
0 Kudos
Message 1 of 3
(2,756 Views)
If you are calling your VITs dynamically you need to include them in the support files for the project otherwise the executable will not work.
 
However, I did not quite understand your second question. Do you mean whether it is possible for you to call the same Vit multiple times in the same VI? If that is the question then the answer is yes. Please refer to the following link for more information on the difference between VIs, vits, and reentrant VIs.
 
 
I hope this helps!
 
 
Mehak D.
0 Kudos
Message 2 of 3
(2,727 Views)
Dear Mehak_D! Thanks a lot for the reply.
What I meant in both questions was that suppose I have a project that uses 14 vit's placed in different folders. If I add all those vit's to a dummy vi (as sub vi's) and include that dummy vi in my project. Would the executable work then? If "no" then would the executable work if add that dummy vi to "Dynamic vi's and support files section"?
The other question was similar. I had asked if I add other dynamically called vi's to the same dummy vi and add it to project and build an executable would it work?
Actually I raised this question because if you have to start a project in the project explorer from scratch its a real pain to go over all the sub folders hunting for all the vit's and dynamically loaded vi's and adding them one by one to the
"Dynamic vi's and support files section". So I was wondering if there was a shorter, time saving way of achieving the same effect.
0 Kudos
Message 3 of 3
(2,720 Views)