Building a Stand-Alone Application

Use the Application Builder to create stand-alone applications and installers for VIs.

Note  The LabVIEW Professional Development System includes the Application Builder. If you use the LabVIEW Base Package or Full Development System, you can purchase the Application Builder separately.

Complete the following steps to build an application in LabVIEW.

  1. Close any VIs you want to use to build the application.
  2. Select Tools»Build Application or Shared Library (DLL). The Build Application or Shared Library (DLL) dialog box appears.
  3. Complete the following items on the Target tab of the Build Application or Shared Library (DLL) dialog box.
    1. Select Application (EXE) from the Build target pull-down menu.
    2. Enter a name for your application in the Target file name field.
    3. Complete any optional items on the Target tab.
  4. Complete the following items on the Source Files tab.
    1. Click the Add Top-Level VI to define the top-level VI for your application.
    2. Click the Add Support File button to add non-VI support files. If you defined custom error codes in an XML-based text file, click the arrow on the Add Support File button and select Add Error Files from the shortcut menu to add the file as a source file.
    3. Complete any optional items on the Source Files tab.
  5. Complete any optional items on the VI Settings, Application Settings, and Installer Settings tabs.
  6. (Optional) Click the Save or Save As button to save the settings you made for the current build in a build script.
  7. Click the Build button to build the application.
  8. You can find the resulting application in the directory specified in the Destination directory field on the Target tab.
  9. Click Done to close the Build Application or Shared Library (DLL) dialog box.
Note  Systems built using the Application Builder must include the LabVIEW Run-Time Engine.