You can use the BuildTargetBuildSpecification VI located in the labview\vi.lib\AppBuilder directory to build source distributions programmatically from build specifications. If you have the Application Builder installed, you can use the VI to build stand-alone applications, shared libraries, zip files, and Windows installers programmatically. The VI is not available on the Functions palette.
|Note The BuildTargetBuildSpecification VI includes Property Nodes that are not supported in built applications, so you cannot include this VI in any built applications.|
|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 by visiting the National Instruments Web site.|
The BuildTargetBuildSpecification VI creates a build from a build specification that you specify in the Name of build specification input. If you do not specify a build specification, the VI creates builds from all build specifications in the specified LabVIEW project. You must specify the path and filename of the project to use in the Path to project input.
If you want the VI to create a build from a build specification located in a target that is not My Computer, specify a target in the Name of target input.
After you run the VI, you can view the paths to the completed build files in the Generated files output.
Refer to the Build Targets Programmatically VI in the labview\examples\project\programmatically build directory for an example of building an application programmatically.