Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Example Program
NI Supported: Yes
Publish Date: Dec 28, 2007

Customizing the Inspection Interface in Vision Builder AI

1 ratings | 5.00 out of 5
Print

Overview

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.

Downloads

Filename: vbai_custom_ui_example.zip
Requirements: View

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. 

Requirements


Filename: vbai_custom_ui_example.zip

Software Requirements


Application Software: NI Vision Builder for Automated Inspection 3.5

Hardware Requirements


Hardware Group: Vision (IMAQ)

 
1 ratings | 5.00 out of 5
Print

Reader Comments | Submit a comment »

 

Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).