LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI VISA Runtime engine

Solved!
Go to solution

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.

0 Kudos
Message 1 of 10
(6,599 Views)

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.

Kelly Bersch
Certified LabVIEW Developer
Kudos are always welcome
Message 2 of 10
(6,587 Views)

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.

0 Kudos
Message 3 of 10
(6,580 Views)

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.

Kelly Bersch
Certified LabVIEW Developer
Kudos are always welcome
0 Kudos
Message 4 of 10
(6,575 Views)

But in my case, I am needing the installer to distribute my "Built" VI's. Where do I find this?

0 Kudos
Message 5 of 10
(6,565 Views)

Didn't you create the exe yourself? The new dialog in project explorer should be pretty self evident.

 

 

0 Kudos
Message 6 of 10
(6,563 Views)
Solution
Accepted by pjleeflyer

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?

Kelly Bersch
Certified LabVIEW Developer
Kudos are always welcome
0 Kudos
Message 7 of 10
(6,557 Views)

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

0 Kudos
Message 8 of 10
(6,550 Views)

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.

0 Kudos
Message 9 of 10
(6,433 Views)

Could you please start a new thread for this quesstion? If someone else has this issue, they will easily be able to find it.

Jason H
Automated Test Software R&D
0 Kudos
Message 10 of 10
(6,416 Views)