06-21-2012 01:13 PM
Hello all, I am trying to make an executable on LabVIEW 2011 SP1. I have never done it before, but in my project, I go to Tools-> Build Application (EXE) from VI... I check to make sure all the sub VI's are located within the Dependencies tab and that I set the path I would like the EXE to go, then I build it. The build compiles and I have the correct Run-Time Engine installed, but when I go to open the EXE, I get a bunch of errors because sub VI's could not be loaded. I checked into these Sub VI's that were not loaded and they are locked and password protected. Probably shipped with LabVIEW so they don't want us messing with anything. How do I get these to be included with the EXE and not return an error?
Thanks.
Solved! Go to Solution.
06-21-2012 01:20 PM
Can you give examples of the file that are missing?
06-21-2012 01:24 PM
There are a lot that are missing, and they come from one of these:
NI_AALBase.lvlib, NI_AALPro.lvlib, NI_DigFilter_FXP.lvlib, NI_DigFilter_Process.lvlib, NI_DigFilterLicensed.lvlib, and NI_Gmath.lvlib
06-21-2012 01:32 PM
I deleted the Run-Time Engine and downloaded it again and I think it worked. Strange, but I will accept it
06-21-2012 01:38 PM
You should give yourself the solution and make it as such so that everyone knows this problem is solved.
06-21-2012 01:39 PM
It wasn't showing as solved when I wrote that.
08-22-2012 10:59 AM
Hi,
I am also facing the same problem when I am trying to run the exe in the PC where I have installed the Drivers and Run time engine. Should I also uninstall the runtime engine and reinstall??? Is there any other solution other than uninstalling and reinstallling the run time engine??
Regards
Giridhar
08-22-2012 01:56 PM
08-22-2012 01:58 PM
08-23-2012 09:30 AM
Hello everyone,
It is true that you must have matching versions of the Run-Time Engine and LabVIEW installed. For example, if you build an EXE with LabVIEW 2011 SP1 and try and run it with the 2011 RTE, you will most likely get errors saying that you are missing dependencies due to the different hierarchies built in to the different versions. If you are certain that your versions match, then the problem must lie elsewhere. Try following the steps for Building a Stand-Alone Application, paying special attention to the Source Files page. You must be sure to add your main VI to the Startup VIs box; this VI will launch when the executable is launched. Add all of your custom subVIs to the Always Included listbox. If you are prompted with a dialog box that says VIs are missing from your executable, try navigating to these VIs and adding them to the Always Included box. This should take care of the missing dependencies.
As far as 32-bit vs. 64-bit LabVIEW, see this FAQ for some details. 32-bit LabVIEW is the recommended version whether you are running 64 or 32-bit Windows; the 64-bit version of LabVIEW is only recommended for high data flow image processing applications.
Thanks everyone, happy LabVIEWing!