Automate Process of Building Multiple Build Specifications in LabVIEW

Updated Nov 29, 2023

Reported In

Software

  • LabVIEW
  • LabVIEW Application Builder Module

Issue Details

I have one LabVIEW project where the main application interacts with several other applications. All applications have their own build specifications in the same LabVIEW project. Now, I would like to build all my applications. They are a few, and launching the builds manually is time consuming, so I wonder if there is any way to speed up or automate the process?

Solution

It is possible to programmatically build and configure build specifications using the Application Builder API. This API can be found on the Function Palette under Programming » Application Control » Application Builder. To start building a build specification, wire the name of the build specification you would like to build to the Build.vi, together with the project path. With this API one can create a VI that programmatically build the build specifications of your choice. 

If you don't wire anything to the Name of build specification input of the Build.vi, it will automatically build all build specifications in the Project.

If you instead would like to build your build specifications in a certain order, you can simply add additional Build.vis and put them in a sequential order of your choice.