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: 

Why, when I buld an EXE, does Labview throw in everything under the sun that I am not using?

Solved!
Go to solution

I have a piece of code where when I compile Labview includes many things that I am not using. Things like math functions I have never heard of, a bunch of SIM files, Gaussian filters, and many many other things. When I open up my programName.exe folder that is created during compile everything seems to be in the 1abvi3w folder. There were over 2200 files in it before the compile finished. Anybody have any idea why this is happening? None of my other programs do that, so they only take a few seconds to compile.

I captured the file names near the end of a compile and have put all of the files starting with the letter 'a' below. I can assure you that I am not using anything much more complicated than add.vi.

Acrossdiagonal.vi
AxB(Optimized).vi
AxB.vi
AxVector(Optimized).vi
AxVector.vi
AALComputeH(w)fromh(n).vi
AALErrorInformation.vi
AALKaiserParameters.vi
AALLPKaiserWindowDesign.vi
AALNBFilterSpecification.vi
AALRampPattern.vi
AALResample(consttoconst).vi
AALResample(consttoconst,complexmulti-channel).vi
AALResample(consttoconst,complexsingle-channel).vi
AALResample(consttoconst,multi-channel).vi
AALResample(ConsttoVariable).vi
AALResample(consttovariable,complexmulti-channel).vi
AALResample(consttoVariable,complexsingle-channel).vi
AALResample(ConsttoVariable,multi-channel).vi
AALResampleFilterPrototypeDesign.vi
aal_cascadedmovingaverage(complexinput)(NoState).vi
aal_cascadedmovingaverage(complexinput).vi
aal_cascadedmovingaverage(realinput).vi
aal_cascadedmovingaverage.vi
aal_CIC(complexinput)(NoState).vi
aal_CIC(complexinput).vi
aal_CIC(realinput).vi
aal_CIC.vi
aal_ComplexModulator(complexinput).vi
aal_ComplexModulator(realinput)(NoState).vi
aal_ComplexModulator(realinput).vi
aal_ComplexModulator.vi
aal_DZT(complexinput).vi
aal_DZT(realinput).vi
aal_DZT.vi
aal_ErrorCodeList(CommonError).ctl
aal_ErrorCodeList(Polynomial).ctl
aal_ErrorCodeList(SpecialFUnction).ctl
aal_errorcodeoffset.ctl
aal_ErrorCodePool(CommonError).vi
aal_ErrorCodePool(Polynomial).vi
aal_ErrorCodePool(SpecialFunction).vi
aal_ErrorCodePool.vi
aal_ErrorPriority.vi
aal_movingaveragewithdecimationbyorder(complexinput)(NoState).vi
aal_movingaveragewithdecimationbyorder(complexinput).vi
aal_movingaveragewithdecimationbyorder(realinput).vi
aal_movingaveragewithdecimationbyorder.vi
AAL_TimeSeries_ErrorCode.vi
aalutilities.llb
AbscissasGenerator.vi
AbsoluteValue
AbsoluteValue-CM.vi
AbsoluteValue-RM.vi
AbsoluteValue.vi
AC&DCEstimator.vi
Add
Add-CM,CM.vi
Add-RM,RM.vi
Add(Elementwise)-C,CM.vi
Add(Elementwise)-CM,C.vi
Add(Elementwise)-R,RM.vi
Add(Elementwise)-RM,R.vi
AddPolynomials(CDB).vi
AddPolynomials(DBL).vi
AddPolynomials.vi
AddRationalPolynomials(CDB).vi
AddRationalPolynomials(DBL).vi
AddRationalPolynomials.vi
Add.vi
AiryFunctions.vi
AllCosWindow(CDB).vi
AllCosWindow(DBL).vi
amax-MaxElementIndex.vi
amin-MinElementIndex.vi
Amp&FreqEstimate.vi
AmplitudeandPhaseSpectrum.vi
Analysis
anAngleManipulation.mnu
ananova.mnu
anComputationalGeometry.mnu
anfilt.mnu
anfit.mnu
anfitadv.mnu
anfltfir.mnu
anfltiir.mnu
angeometry.mnu
anintegdiff.mnu
aninterpextrap.mnu
anlinalg.mnu
anode.mnu
anodesub.mnu
anoptimize.mnu
anpolynomial.mnu
anpolyrat.mnu
anprob.mnu
anscriptsAndFormulas.mnu
ansiggen.mnu
ansigop.mnu
anspectral.mnu
anstat.mnu
ansttest.mnu
antransform.mnu
anwind.mnu
ArbitraryWave.vi
ArrayToMatrix-CA.vi
ArrayToMatrix-CA2.vi
ArrayToMatrix-RA.vi
ArrayToMatrix-RA2.vi
ArrayToMatrix.vi
array2ColVector.vi
assembleMatrix.vi
asum-AbsoluteValuesSum.vi
AtomicCheck.VI
AutoPowerSpectrum.vi
AutoCorrelation.vi
axpy-Scalar-VectorProduct.vi
0 Kudos
Message 1 of 5
(2,929 Views)

What LabVIEW version are you using? 

0 Kudos
Message 2 of 5
(2,896 Views)
Solution
Accepted by topic author robot_mower_guy

You are using a VI that is part of a library - the NI Analysis Library. Many of these VIs are on the palettes. If you have a look in the "Dependencies" part of the LabVIEW project you will see this library and you can then drill down into it's many members.

 

The default behaviour for a build is that all members of a library (even if they are not used) are included. In your case that is not necessary; there is a build option to remove unused members of libraries - have a look in the build specification.

0 Kudos
Message 3 of 5
(2,840 Views)

I just the support page below. Thanks for telling me what to look for.

 

http://zone.ni.com/reference/en-XX/help/371361J-01/lvdialog/additional_exclusions/

 

0 Kudos
Message 5 of 5
(2,789 Views)