Include LabVIEW VI to Acquire Camera Images in a Vision Assistant Script

Updated Mar 26, 2025

Environment

Hardware

  • Camera
  • Smart Camera
  • Frame Grabber Device

Software

  • Vision Assistant
  • Vision Development Module

Driver

  • Vision Acquisition Software

This article explains how to create a LabVIEW VI to process images that come from cameras and include it into a Vision Assistant script. 

Complete the following steps to create a LabVIEW VI that includes code for image processing as defined in the Vision Assistant script and also image acquisition:

1. Select Tools»Create LabVIEW VI.
2. Select the version of LabVIEW in which you want to create a VI.
3. Click the Browse button and select the location to which you want to save the VI.
4. Enter a File name, and click OK.
5. Click Next.
6. Select Current Script to create a VI from the script you created in this chapter.
7. Click Next.
8. Select Image AcquisitionIMAQdx Image AcquisitionSmart Camera Acquisition depending on the type of camera. (see related links for further reference)
9. Click Finish to create the VI.

 

Additional Information

If several versions of LabVIEW and NI Vision are installed on the computer, the wizard searches the machine and displays a list of the available LabVIEW and NI Vision versions you can use to create the VI.

If you have LabVIEW open, you cannot create a VI for a different version of LabVIEW. For example, if you have LabVIEW 8.0.1 open and you select LabVIEW 8.2 in the LabVIEW VI Creation Wizard, the wizard returns an error when you click Finish.