LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Integrating an NI-USB 8451 driver and Labview Run-Time Files in an installation package of a .vi application

Hello,
 
I've built a .vi which uses the NI-USB 8451 device (please see https://www.ni.com/en-us/support/model.usb-8451.html), and I would like to create an installation package to be used on a costumer's PC, which has no Labview installed on or a driver for this device.
 
I would like to have this installation as a completely stand-alone setup, so that the user could take this file and run it, and have the driver to the 8451, the run-time files for the Labview application installed by themselves,  and have the .exe file working on a completely "clean" PC.
 
 
How can I integrate it all in one package ?
 
 
Thanks,
 
Michael.
 
0 Kudos
Message 1 of 9
(3,887 Views)
Hi Michael,
you can create an installer. There you can add all drivers you need.
Mike
0 Kudos
Message 2 of 9
(3,881 Views)

Hey Mike,

Can I even add the run-time files of Labview ?

 

Michael.

0 Kudos
Message 3 of 9
(3,879 Views)

Hi Michael,
yes it is possible. See this for additional inforamtion.

Mike

 
0 Kudos
Message 4 of 9
(3,862 Views)
Hi,
 
You can add a number of different 'additional' installers to a Labview installer application. If you go to the 'additional installers' tab in your build dialog window, you will find a list of them and you can place checks against the ones that you want included. Hope this helps.
 
Ipshita C.
National Instruments
Applications Engineer
0 Kudos
Message 5 of 9
(3,818 Views)

Hi Ipshita, Thanks.

What I'd like to have is actually an .EXE file with some dll's with it, not requiring installation of Run-Time files or the drivers files, very similar to what Visual Basic does.

 

Can I do that ?

0 Kudos
Message 6 of 9
(3,800 Views)

Hi Mike_S,

How are the dlls a part of your application? Are you going to call them in your VIs using something such as a Call Library Function Node or do you want them to be included as separate files in the project?

Ipshita C.

National Instruments
Applications Engineer
0 Kudos
Message 7 of 9
(3,786 Views)
Nice hearing from you again, Ipshita
 
 
I do not call any dll's currently, but am using the driver of the USB device, NI-USB 845x, version 1.0.1
 
Now, I would very like to make the use of my application, by another user, with no Labview or this driver on his PC, as simple as possible.
 
 
I just thought that maybe I could create an .EXE file with some Labview created dll's, which this executable would use, and spare the need of the 845x Driver or Labview Run-Time library prior installation. I could be wrong.
 
 
What should I do ?
 
 
 
P.S.
Meanwhile, I've been playing with the Application Builder and tried to create an installation with the Driver and the Labview Run-Time.
 
It had started the compile, but stopped with the following pop-up window: "Locate the 'NI-845x Software 1.0.1' distribution. Labview needs to copy a component installed or updated by the distribution..."
 
(Attaching the pop-up window below)
 
What is it looking for and where can I find it ?
 
 
 
Thanks,
 
Michael.
0 Kudos
Message 8 of 9
(3,773 Views)

Hi Michael,

As stated by MikeS81 in an earlier post, you can create an installer in which you can include the installers for your driver and any other application that you may be using in your program in the additional installers tab. Do Build Specifications>>New>>Installer. Please try doing that and then let us know how it works.

Ipshita C.

National Instruments
Applications Engineer
0 Kudos
Message 9 of 9
(3,736 Views)