Scripting

NI Vision Assistant

Scripting

The Vision Assistant scripting feature records a series of image processing steps and the parameters you specified for each of those steps. You can run scripts on single images or image collections (batch processing). You also can modify and save scripts.

A script is a list of image processing and analysis functions and the parameters for each of those functions. As you prototype the image processing application, Vision Assistant records each function and its parameters.

Complete the following steps to develop a script:

  1. Process an image.

    When you finish processing the image and exit the Parameter window, Vision Assistant adds the processing step to the current script.
  2. Save the script.

You can use the script, which is also called a Builder file, to implement the image processing application using the NI Vision machine vision and image processing library in LabVIEW, LabWindows/CVI, Visual Basic, or other ActiveX containers.

If you have LabVIEW 6.1 or later and NI Vision 6.1 or later installed, you can use Vision Assistant to create the LabVIEW VI implementing the image processing steps you prototyped.

Related Topics

Creating a new script

Opening a script

Running a script

Saving a script

Script Window

Stepping through a script