08-10-2010 10:08 AM
Hello, I am trying to figure out how to make an executable file from LabVIEW. This is my first time ever creating an executable so I need instructions in basic terms. I tried to do it using the project manager. The file that was created needs LabVIEW Run-Time in order to work.
Is it even possible to have a LabVIEW program and create an executable that would let any computer without NI products run the appllication?
Also, I searched for some instructions of how to do this but could not find any useful ones. If anyone can direct me to a post or set of instructions that explain how to create an executable that would be perfect. Thank you!
Solved! Go to Solution.
08-10-2010 10:12 AM
since you said you created a file from project manager and it needs the runtime, you've already created an exe and I don't understand what other instructions you need for creating an exe.
An exe requires a run-time just like every other windows program. Can't avoid it.
08-10-2010 10:13 AM
To be able to run a LabVIEW build exe file you need at least LabVIEW Run-Time Engine installed on the PC that has to run the exe.
08-10-2010 10:15 AM
Here is a link to a tutorial
http://zone.ni.com/devzone/cda/tut/p/id/3303
08-10-2010 10:26 AM
so can I somehow compile the runtime with my executable file so that in the end, the user can run the executable file I created? Does that make sense? Has anyone done that?
08-10-2010 10:31 AM
The user can run any executable you want as long as the run-time gets installed - a separate install. A long time ago, the build included the run-time. A separate run-time is considered a feature.
08-10-2010 11:59 AM
Is there any way i can make the RunTime install silently with no user interaction? If I can, how? I have looked at other posts and how NI tell me to do it (http://digital.ni.com/public.nsf/allkb/188FE05BA8933F4486256BC300708527) , but it is way over my head. Is this the right way? or is there a simpler way?
I do not understand how to compile the installer and executable file together. I can create the executable from the LabVIEW file that I need to run, but I want the RunTime to install automatically before that executable is executed. (If this statement doesnt make sense, tell me. )
Any feedback would be appreciated.
08-10-2010 12:15 PM
When you right clicked on Build Specifications to create the exe, you should have noticed the option New>Installer. Select that. There is a category 'Additional Installers' where you can select the run-time as well as any other drivers you might need (i.e. DAQmx). I've never tried to do a silent install.
08-10-2010 12:47 PM
I have done the runtime install when the exe is installed. It worked well for something that does not require device set up. If you need to install DaqMX then it get more complicated. So if you want to install a program that lets the user play tic tac toe then it would do the installation for the run time and tic tac toe and run great with no extra operator interaction.
09-01-2011 11:53 AM
We have LV7.1. Does the latest run time engine work with this version?? If not, can you even still get the RT Engine for 7.1?