LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I add device drivers using application builder

HI

I need to build a application and I cannot figure out how to add a device driver to a stand-alone application. I have read about all of the articles and watched the videos but they seem to fall short of adding a device driver. I have a very simple VI that uses a USB-6008. I am just practicing with this before I finish up a larger build that will have to go with a demo unit. I am using LabView 2010 SP1 with application builder. Any help will be appreciated.

Thanks

0 Kudos
Message 1 of 9
(5,745 Views)
You create an installer in the project. Besides the exe, you can add the run-time, additional installers for drivers, and your hardware config from MAX.
0 Kudos
Message 2 of 9
(5,741 Views)

That is where the problem is. I get to the point of building the installer and then I am not sure how or what to check mark to get the drivers I need. When I do what I think is required I end up with a message wanting more disk. Is there a step 1, step 2, step 3, on how to do this. I have attached a picture of what I get when I try to build the installer.

0 Kudos
Message 3 of 9
(5,732 Views)

Yes, you need the device driver dvd. You installed the driver itself on your pc but that did not include the actual installer for the driver.

 

For the 6008, you need DAQmx as a minimum. I would also recomend MAX and the hardware configuration.

0 Kudos
Message 4 of 9
(5,718 Views)

From all I have read and the videos I have watched I was under the impression that you could do all of this with the application builder. So if you need to install the disk why would you not just install the full version of the software and lock it with a password.

0 Kudos
Message 5 of 9
(5,708 Views)

I don't understand what you are saying. The application builder includes the ability to create an exe and to create an installer for that exe (as well as a dll, zip file, etc.). If you want to distribute an exe that you built, you will need to install the exe and all hardware drivers. You can certainly install the full version of the hardware driver when you install the actual hardware but that includes much that you don't need. When you select to include DAQmx as an additional installer, you have the option of selecting full or just a runtime. The full version of the DAQmx cannot be locked with a password and I don't understand your comment.

0 Kudos
Message 6 of 9
(5,706 Views)

I guess what I am asking is how do you do it? I would like to know the process on how to build the exe and installer that will include all of the drivers and run time that is required to make a stand alone application that I can give to a person that does not have LabView and they can install it on a pc that will operate a USB NI device.

 

I am sorry if I am being vague in the question I just don’t know any other way to word it.

0 Kudos
Message 7 of 9
(5,701 Views)

You first create the exe in the project by selecting Build Specifications>New>Application. After the build is successful, you select Build Specifications>New Installer. You include the exe by selecting Source Files. Under categories, you will see also Additional Installers. There you have the option to add installers for the LabVIEW runtime, DAQmx runtime/full, MAX, etc. There is also a category for hardware configuration where you can export the settings in MAX and include that as well. There is a Help button that will hopefully explain the details and in the LabVIEW Help, search for Application Builder and you will find topics titled 'building a stand-alone applications' and 'building installers'. These are step-by-step procedures.

Message 8 of 9
(5,697 Views)

Hi,

 

This tutorial explains all the steps you need to deploy an executable with drivers to target computer.  What you have to do is first build an exe file from your VI and then include that exe file in the installer source files as explained in the tutorial.

Sev K.
Senior Systems R&D Engineer | Wireless | CLA
National Instruments
0 Kudos
Message 9 of 9
(5,680 Views)