Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Tutorial
NI Supported: Yes
Publish Date: Oct 27, 2006


Feedback


Yes No

Related Links - Developer Zone

Related Links - Products and Services

Creating an NI-DAQmx Application Installer with LabVIEW

3 ratings | 1.67 out of 5
Read in | Print

The National Instruments Getting Started with NI-DAQmx Series is aimed at helping you learn NI-DAQmx programming fundamentals. Through video and text tutorials, this series will take you from verifying your device's operation in Measurement & Automation Explorer (MAX) to programming data acquisition applications using LabVIEW. It is intended for both the beginner who wants to learn how to use the DAQ Assistant, as well as the experienced user who wishes to take advantage of advanced NI-DAQmx functionality.

Overview

Using a LabVIEW 8 project, you can create an executable from your NI-DAQmx application and bundle it into a distributable installer.  This installer can be configured to include you system's hardware and task configuratio from MAX as well as the NI-DAQmx driver or one of the NI-DAQmx runtime distributions.

Creating an NI-DAQmx Executable

  1. Open your LabVIEW project, right click on Build Specifications and choose New >> Application (EXE)
  2. In the Properties window, configure your application's name, destination directory, and version number.
    [+] Enlarge Image
  3.  
  4. Click on the Source Files category to select which VI's you want to use in your application.  You must have at least one VI in your Startup VIs list.  Any VI's that are called dynamically should go into the Dynamic VIs list.
    [+] Enlarge Image
  5. In the Preview category, clock on Generate Preview to see what files and executables will be created and where they will be located.  
    [+] Enlarge Image
  6. Once you are satisfied with your build specifications, click the Build button.  Your executable will be automatically built and placed in the specified directory.

Building an NI-DAQmx Application Installer

  1. Open your LabVIEW project, right click on Build Specifications and choose New >> Installer
  2. In the Properties window, configure your installer's name, destination directory, and version number.
    [+] Enlarge Image
  3. In the Source Files category, move your application to the Destination View.  In this window, you can create new folders on the target system and configure where your application will be installed.  You can also choose other (not project related) files that will be installed on the target system.
    [+] Enlarge Image
  4. In the Shortcuts category, you can create the shortcuts to your application that will be installed on the target system.  Some of the places you can create shortcuts in are the Start Menu, Startup Folder and Desktop.
  5. In the Hardware Configuration category, you can choose to include a hardware configuration from MAX that can include MAX channels, tasks and devices.  You can choose an existing file or launch the MAX Configuration Export Wizard by clicking the Configure button. 


[+] Enlarge Image

3 ratings | 1.67 out of 5
Read in | Print

Reader Comments | Submit a comment »

App install doc not current
I recently downloaded DAQmx 8.3, and installed on my LV8.01 machine. When I try to generate a standalone from my project, I do NOT get the same screen shown in this web document. hence, it would seem it needs updated.
- Fred Brandeberry, e.l.marsden wireless inc. fbrandeber@elmwi.com - Nov 12, 2006

 

Legal
This tutorial (this "tutorial") was developed by National Instruments ("NI"). Although technical support of this tutorial may be made available by National Instruments, the content in this tutorial may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this content with each new revision of related products and drivers. THIS TUTORIAL IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).