Table Of Contents

build-application

Last Modified: April 15, 2020

Builds the specified application into a binary.

To build an application from the CLI, use the following syntax:

labviewnxg.cli build-application -p <relative or absolute location of the project> -n <name of the application> -t <SystemDesigner target containing the application> -s

For example:

labviewnxg.cli build-application -p "C:\LabVIEW Projects\Project.lvproject" -n "Application.gcomp" -t "PXI Controller" -s
spd-note-note
Note  

To use the build-application operation, the build machine must have the Application Builder license.

The following table lists the available arguments for this operation.
Argument Required Description Example
  • -p
  • --path=VALUE
Yes Specifies the relative or absolute path of the project containing the application to build.
  • -p "C:\LabVIEW Projects\Project.lvproject"
  • --path="C:\LabVIEW Projects\Project.lvproject"
  • -n
  • --name=VALUE
Yes Specifies the name of the application to build.
  • -n "Application.gcomp"
  • --name="Application.gcomp"
  • -t
  • --target=VALUE
This argument is required if the project contains SystemDesigner targets. Specifies the SystemDesigner target that contains the application to build.

You can view supported targets by opening the application in the editor and clicking the Select target drop down.

  • -t "This Computer"
  • --target="This Computer"
  • -s
  • --save
No Saves the application and project file after building.

Use this argument when you select Auto-increment version on build in the application.


Recently Viewed Topics