10-14-2013 09:49 AM
When "Building" a LabVIEW program containing NI-VISA sub VI's (e.g. to communicate with USB), I have had problems getting the "Built code" to find my NI VISA devices, even though the NI VISA USB Drivers are correctly installed on the "target machine".
(The "built" code WILL run if the target machine has a LabVIEW installation on it, including NI VISA)
So - will the NI VISA runtime engine be automatically included in the "Build" (Because of the NI VISA sub VI's), or do I have to specify this myself - And how?
Thanks. Peter.
Solved! Go to Solution.
10-14-2013 10:26 AM
You specify installing the NI VISA Runtime Engine when you build and installer for your built executable. Look on the Additional Installers tab of the Installer Properties Dialog Box. The NI VISA Runtime Engine should be selected automatically but if it's not you can uncheck the Automatically select recomended installers checkbox and select any other installers you want to include in your install.
If you're not using an installer then no runtime engines are installed and you'll have to do that manually on each machine you copy the executable to.
This all assumes LabVIEW 2013. The selection process is slightly different in earlier versions but all the options are still available.
10-14-2013 11:16 AM
Ah - I am not using the installer! - This probably explains why my "Built" executables only run fine on another "target" machine that has a full copy of LabVIEW on it?
So as a "Newbie" to this - Is the installer a part of the "Build" program, or a completely seperate piece of software we need to buy? Thanks for the help.
pjleeflyer.
10-14-2013 11:27 AM
The runtimes are seperate installs but are inluded on the DVDs for your LabVIEW install. You can also download the latest version from NI at no charge.
10-14-2013 12:04 PM
But in my case, I am needing the installer to distribute my "Built" VI's. Where do I find this?
10-14-2013 12:09 PM - edited 10-14-2013 12:10 PM
Didn't you create the exe yourself? The new dialog in project explorer should be pretty self evident.
10-14-2013 12:12 PM
Create an installer build just like you did the executable build. The installer will be for the executable, not for the original project.
What version of LabVIEW are you using?
10-14-2013 12:34 PM
Ahh - Perfect! - I didn't realize I needed to switch to the project explorer to create the installer!!
I have been searching everywhere in the main LabVIEW environment for the menu you included in your post!
I'm using LabVIEW 2013. - Everything is good now. - Thank you so much.
pjleeflyer
10-31-2013 12:32 AM
hi,
I am having a USB temperature sensor from third party. I created .inf files and installed it on my PC. I developed an application to acquire temp from it. I was successful. But when i create an executable and installer and installed in anothe PC and run it, it is throwing an error, couldnot find the hardware. I even included the NI VISA run time engine along with the installer. Can anyone please help
Thanks in advance.
10-31-2013 02:40 PM
Could you please start a new thread for this quesstion? If someone else has this issue, they will easily be able to find it.