01-21-2010 02:24 PM
Hi
Using version 8.5.1 and need to include the runtime version, and drivers for connecting to scope into an executable. Have found so much information on the subject of creating an executable but would like to know if anyone has some step by step for version 8.5.1 to create an executable. Also, has anyone had any issues with drivers and installing/creating exe. while running windows 7.
01-21-2010 04:54 PM
Hi!
I remember running the compiler at home on Windows 7 64bit using 32bit LabVIEW and I did not have any problems. The exe built just fine.
You have to have your code in a project in order to build an executable. Once you have created a project and included your source files, right click on Build Specifications and choose "New->Application (exe)". Go through each section of the Application (exe) dialog and input the appropriate settings you need.
You can include the runtime and device drivers by creating an Installer. Once you have your executable built, you can right click on Build Specifications and choose "New->Installer". Same thing, go through each part of the dialog box selecting appropriate settings. Under "Additional Installers" you can include NI drivers and the LabVIEW runtime. If you have never done this before, it may ask for you to insert LabVIEW/NI Driver discs so it can include what it needs to for your installer.
My users tend to groan whenever I do this, however, as it creates installers >400MB (which seems silly to them for what appears to be a simple program). Ah well.
01-21-2010 04:56 PM
If you don't want to include, you can point your users here:
http://joule.ni.com/nidu/cds/view/p/id/861/lang/en
And they can download the runtime. The runtime supports Vista and Vista 64bit, which probably means that Windows 7 32/64bit will work fine.