Build your code into a package that you share and run outside or within the development environment.
An
application
is a program designed to perform a group of coordinated functions or tasks.
A
library
is a collection of source files, such as VIs, type definitions, classes, and other support files.
Use an Application or Library document (.gcomp) to create an application, library, or custom palette. Each document contains your source files, such as VIs, menus, and text files.
Use the following steps to build and customize your application or library.
-
Create your application or library.
Option |
Description |
Create an application
|
To create an executable, create an Application document (.gcomp), add source files to the document, and build the application into an executable.
|
Create a library
|
Use a Library document (.gcomp) to add source files and to create a library or an
add-on library.
|
-
Optional:
Localize strings—To localize strings for objects that display at run time, such as dialog boxes, add custom entries to a string dictionary file and use the
Get Localized String
node to retrieve the strings programmatically.
-
Optional:
Optimize your library—Use the command line interface (CLI) to run a predefined command that optimizes library file performance.
-
Optional:
Create an executable—Build your application into an executable.
Note
The target that the executable runs on must have the LabVIEW Run-Time Engine installed.
-
Package your file—Package your application or library into a package or package installer.
-
Optional:
Add a project to LabVIEW NXG—Add a LabVIEW NXG project that demonstrates the use of an add-on library to LabVIEW NXG as an example or template.