Archived: Customizing the Inspection Interface in Vision Builder AI

Publish Date: Jan 10, 2019 | 6 Ratings | 3.33 out of 5 | Print | Submit your review

Overview

This document has been archived and is no longer updated by National Instruments.

NI Vision Builder for Automated Inspection 3.5 or later (Vision Builder AI) allows you to customize the Inspection interface. These examples show inspections with custom user interfaces. Refer to the three-part series, Customizing an Inspection Interface in NI Vision Builder for Automated Inspection, for tutorials describing how to set up a custom user interface.

Table of Contents

Example 1 - Last Failed Image:

This example illustrates how to use an image display for the current image, and a smaller image display to show the last failed image. The state diagram for this inspection goes to a state that updates the failed image and timestamp of the failed image when the inspection fails.

Example 2 - Statistics:

This example illustrates how to use arrays of data with shift registers to calculate statistical information like histograms, means, standard deviations, min, max, etc. There is also a way to reset the historical data using a reset button. The data for each type of object is updated on a different tab of the interface.

Example 3 - Array of Thumbnail Images with Slider:

This example illustrates how to create an array of failed images and display them as a thumbnail strip at the bottom of the interface with a slider to allow the user to scroll through the failed images. When a failed image is selected, the information for that failure is displayed in a table. The user can choose to continually update the thumbnail strip of failures or stop updating so they can inspect the failures more closely. The inspection continues inspecting current objects regardless of whether the user has stopped updating the failure array.

To get more information on using custom interfaces in your Vision Builder AI inspection, see the following tutorials, which describe how to incorporate custom interfaces in your inspection:

Customizing the Inspection Interface in NI Vision Builder for Automated Inspection – Part I
Customizing the Inspection Interface in NI Vision Builder for Automated Inspection – Part II
Customizing the Inspection Interface in NI Vision Builder for Automated Inspection – Part III

Download and unzip the attached file. Copy the User Images and User VIs folder to your C:\ directory. Now you can open any of the Vision Builder AI examples and run them to see how the custom inspection interface is used. 

Back to Top

Bookmark & Share


Downloads

Attachments:

VBAI Custom UI Examples

Requirements


Ratings

Rate this document

Answered Your Question?
Yes No

Submit