09-22-2010 06:34 PM
Hi everybody,
I'm facing a weird behaviour building my executable from LabVIEW: I've just realised now I forgot to include some essential VIs in my executable (in the Build Specification properties - Source Files tab). Despite of that, launching the .exe (from my PC where LabVIEW developing environment is installed) I have no problem in getting it to work perfectly!
Possible explanation: in some way missing VIs get called from the executable????
Does someone have a better explanation?
Many Thanks.
09-22-2010 06:51 PM
All subVIs in the hierarchy of the startup VI are included automatically. How are you calling the subVIs?
09-22-2010 06:56 PM
I see...
Actually I'm quite new to LabVIEW, been working and playing with it for a couple of month.
So I don't need to put all my VIs in the "Always included" folder, I suppose.
I imagined there should be a simple explanation.
Thanks a lot.
09-23-2010 11:26 AM - edited 09-23-2010 11:27 AM
The simple explanation is this: If you are calling the subVI's by reference through the VI server they are not considered a "dependency" and therefore are not automatically included in the build of an exe. This is when you would need to place those VIs in "Always Included." When you place a subVI dirtectly on the block diagram then it is included in the dependencies and will be automatically built with the exe.
09-23-2010 12:02 PM