Use a Package document (.lvdist) to build a library into a package or package installer.
is a compilation of source files and a
G linked library
is a custom palette file. The Package document contains the build configuration and metadata, such as version, maintainer, and display name, for your package.
Before you begin,
create a library
of source files using a Library document (.gcomp
The Package document opens in the project.
Drag the library or libraries you want to distribute from the
tab to the
You can include applications and other support files.
The Package document automatically calculates the package dependencies that your library requires.
Make sure that the Destination is set to
and that the company information is filled in. Your libraries will be installed in
LabVIEW NXG/[version]/addons/[company name]/[product name].
In the right rail, click
Create palette file.
Use the pull-down to choose whether you will create a
G diagram palette
G panel palette
Review the contents of the
section, which displays package dependencies your library requires.
You can include additional dependencies by clicking
and selecting packages under
section, confirm that the values in the Package document are correct.
The Package document automatically gathers information from the project and your NI User Account to complete the
section. The values in the text boxes become metadata in the package. NI Package Manager reads the metadata of packages to sort them and display information about them to users.
for the output type. Select
if you want to create an installer that includes all of your packages.
Output directory, specify the location to save the package output.
tab shows the status of the build process.
After packaging the library, click
Locate directory in File Explorer
to find your package and install it to a target machine. For a G linked library,
create a project
that demonstrating the use of your custom palette.