Run VBAI Inspection in LabVIEW

Updated Apr 17, 2026

Environment

Software

  • Vision Builder for Automated Inspection
  • LabVIEW

I have created a simple inspection in Vision Builder for Automated Inspection (VBAI) software. How can I run the inspection in LabVIEW?

To run a VBAI inspection in LabVIEW, make sure you have the VBAI LabVIEW Interface API installed. This is automatically installed when you install VBAI. To check if the API is present, right-click on the LabVIEW Block Diagram and search for Vision and Motion>>Vision Builder AI.

 

Follow the steps below to run a VBAI inspection in LabVIEW:

 

  1. Re-create or import the code snippet below:
     
    Note: This image is a LabVIEW snippet, which includes LabVIEW code that you can reuse in your project. To use a snippet, right-click the image, save it to your computer, and drag the file onto your LabVIEW diagram.
     
  2. In the Path control, set the path of your VBAI inspection.
  3. Select the correct VBAI version in the Engine Version constant, for example VBAI 2019 (32-bit).
  4. Run the LabVIEW VI. An image of the inspection will be display as shown in the picture below.