Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Creating a Build Specification (DSC Module or Touch Panel Module)

LabVIEW 2013 Touch Panel Module Help

Edition Date: June 2013

Part Number: 372507E-01

»View Product Info
Download Help (Windows Only)

You can use the Application Properties dialog box to create a build specification for and build a stand-alone application. You can configure settings for specified VIs to add passwords, remove block diagrams, or apply other settings. You also can select different destination directories for VIs without breaking the links between VIs and subVIs.

Complete the following steps to build an application in LabVIEW.

Getting Started

  1. Open the project for which you want to build the application. You must have a project open and saved to configure a build specification.
  2. Prepare the VIs you want to use to build the application. Save changes to any VIs in memory.

Configuring the Build Specification

  1. Expand the Windows Embedded Standard target in the Project Explorer window. If you previously hid Build Specifications in the Project Explorer window, you must display the item again to access it.
  2. Right-click Build Specifications and select New»Touch Panel Application (EXE) from the shortcut menu to display the Application Properties dialog box.
  3. Complete the following items on the Information page of the Application Properties dialog box.
    1. Enter a name for the build specification in the Build specification name text box. This name appears under Build Specifications in the Project Explorer window. The name must be unique among other build specification names in the project.
    2. Enter a name for the application in the Target filename text box. Applications must have a .exe extension.
    3. Enter the location on the host computer for the built application in the Local destination directory text box. You can use the Browse button to navigate to and select a location.
    4. Enter the location on the Windows Embedded Standard target for the built application in the Target destination directory text box.
    5. (Optional) Enter a description for the build specification in the Build specification description text box.
  4. Complete the following items on the Source Files page.
    1. From the Project Files tree, select the VI you want to define as a startup VI for the application. You also can select multiple files in the Project Files tree to add several files at one time to the Startup VIs or Always Included listbox. Startup VIs open and run when a user launches the application. You must define at least one VI as a startup VI for the application.
    2. Click the Add Item arrow button next to the Startup VIs listbox to move the selected VIs to the Startup VIs listbox.
    3. Click the Add Item arrow button next to the Always Included listbox to move the selected items to the Always Included listbox. If the startup VIs do not contain references to the files but the files are necessary for the application, make sure to include the referenced files in the Always Included listbox.
  5. From the Destinations page, configure destination settings, add destination directories for the application, and indicate whether LabVIEW adds the files to a new project library.
  6. From the Source File Settings page, edit destinations and properties for individual files and folders in the application. LabVIEW places an item set to Same as caller in the directory of the caller. If you set an item to Same as caller and two different callers are in different directories, LabVIEW places the item in the same directory as the build.

Customizing Advanced Application Options

  1. From the Icon page, select the icon file to associate with the application. You also can view the icon using the Icon Image pull-down menu.
  2. From the Advanced page, configure advanced settings for the application.
  3. From the Additional Exclusions page, configure settings to disconnect type definitions, remove unused polymorphic VI instances, and remove unused members of project libraries to reduce the size of the application.
  4. From the Version Information page, configure the version number and other application information.
  5. From the Run-Time Languages page, set the language preferences for the application.

Previewing and Building the Application

  1. From the Preview page, click the Generate Preview button to review the generated files for the application.
  2. Click the OK button to update the build specification settings in the project and close the dialog box. The build specification name appears in the project under Build Specifications. Creating or updating the build specification does not build the application.
    Note  When you update the build specification settings, the settings become part of the project. However, you must save the project if you want to save the settings.

Right-click the application build specification name and select Build from the shortcut menu to build the application. You can find the resulting application in the directory specified in the Destination path on the Destinations page. You also can click the Build button in the Application Properties dialog box to update the build specification and build the application.

You can duplicate build specifications. Right-click the build specification item you want to duplicate and select Duplicate from the shortcut menu to create a copy of the build specification item.

Note  If you rebuild a given build specification, LabVIEW overwrites the existing files from the previous build that are part of the current build.

 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit