Create an Executable from a Migration of a VBAI Script to LabVIEW

Updated Mar 20, 2019

Reported In


  • Vision Builder for Automated Inspection

Issue Details

I have followed all the steps to migrate a Vision Builder for Automated Inspection (VBAI) Script to LabVIEW but I don't know how to create a working executable on a Computer from the code that is generated.


To create a classical executable you need to follow the method about Stand Alone application. 
To create an executable with the code generated from the migration of a VBAI script to LabVIEW, you need to follow these steps:
  1. Create an empty Project
  2. Add all the elements (VIs, calibration files, repertories...) created by the migration. To do so, you can either drag and drop all the elements or right click on My Computer > Add > File...
  1. Create a Build Specification (Right click on Build Specification > New > Application (EXE))
  2. In the Source Files Category, select Inspect as the Startup VI and the content of Configuration Files (, cal2.cal2, VBAI in this example) as Always Included.
  1. In the Destinations Category, click on the ADD button (symbolized by a blue addition icon) to add a New Destination. Rename it as Configuration Files
  1. In the Source File Settings, click on each elements of the Configuration Files and set the Destination to Configuration Files.
  1. Click on OK
  2. Save your Project
  3. Right click on the Build Specification you just created and build the Stand-Alone application

Additional Information

If you don't plan on creating an installer from your executable, you can create a classical application and copy and paste the Configuration Files directory created from the migration directly in the Application directory.
Without the Configuration Files directory, the executable will prompt you an error saying that this file is missing. This is because the content of this file is dynamically called.


Not Helpful