The ability to customize the inspection interface is a new feature introduced in Vision Builder AI 3.5. This powerful feature provides a way to customize how the inspection interface looks, and can even control the flow of the inspection or change parameters used in steps of the inspection while the inspection is running.NI Vision Builder for Automated Inspection 3.5 or later (Vision Builder AI) allows you to customize the Inspection interface. This tutorial is the first document in a three-part series that guides you though setting up a simple Inspection interface. Refer to Customizing an Inspection Interface in NI Vision Builder for Automated Inspection – Part II and Customizing an Inspection Interface in NI Vision Builder for Automated Inspection – Part III for advanced Vision Builder AI custom Inspection interface examples.
The following highlights are available in this new feature:
The following exercise demonstrates how to use a custom Inspection interface template for your Vision Builder AI inspection. Complete the following steps to take an existing inspection and modify it to use a custom Inspection interface template for the Inspection interface.
Complete the following steps to open the Tutorial 1 - Coordinate System.vbai inspection.
After you open the inspection, run the inspection to observe its behavior. Complete the following steps to the run the inspection and better understand the structure of the inspection.
Click the Run Inspection Once button to run one iteration of the inspection.
The inspection executes the following steps in order:
You can run inspections in either the Configuration interface or Inspection interface. The Configuration interface is used primarily for development and debugging. The Inspection interface is used when the inspection is deployed. Since the Inspection interface does not display debugging information, it typically runs faster than the Configuration interface.Complete the following steps to run the inspection in the Inspection interface.
Note: The default Inspection interface displays the image, results of individual inspection steps, and other statistical information about the inspection.
Click the Stop Inspection button to stop the inspection.
Select Inspection»Switch to Configuration Interface to re-open the inspection in the Configuration interface.
The default Inspection interface displays information about the inspection. However, you may wish to display different information in the Inspection interface. Complete the following steps to configure the inspection to use a custom template interface as the Inspection interface.
The Configure Inspection Interface dialog box should now resemble Figure 1.
Figure 1. Configure the Inspection Interface
Click OK to close the Configure Inspection Interface dialog box. Vision Builder AI includes the interface with the inspection to make the inspection more portable. The selected interface is displayed when you switch to the Inspection interface.
Complete the following steps to update the indicators on the Custom inspection interface.
The Inspection Interface indicators table should resemble Figure 2.
Figure 2. Assigning measurement results to indicators on the Custom Inspection Interface
Accessing an inspection through a Web browser is only available for inspections running on remote targets. Using a Web server provides an easy way to view the custom Inspection interface running on the remote target from any PC using a Web browser without requiring any additional software to be installed. The web page will automatically attempt to install the LabVIEW Run-time Engine and Vision Run-time Engine if they are not already installed.Note: It is not necessary to install the Vision Run-Time Engine, which will require activation after 30 days, to view the inspection through a web browser on the remote target. Instead, you can view the inspection from the remote target by installing the Vision Common Resources. This Vision Common Resources Run-Time will provide the necessary components needed to view the inspection and does not require a license. If you don't install the Vision Run-Time Engine or the Vision Common Resources and just have the LabVIEW Run-Time Engine installed, you will be able to see your inspection controls and indicators updating but will not be able to see the acquired image.
Complete the following steps to connect to a remote target using Vision Builder AI.
Note: You may need to click the Configure button and complete the Remote Target Configuration Wizard to ensure the remote target is running Vision Builder AI. After you have verified the target is running Vision Builder AI, click OK.
On the Vision Builder AI inspection screen, click Configure Inspection.
Complete the following steps to copy the modified inspection from the development computer to the target.
Configuring the Web server allows you to specify if a Web server is running on the target and the level of read or write access other computers can have to the remote target using the Web server. The more computers viewing an inspection using the Web server, the slower the inspection will run, especially if the computers are on remote subnets. NI recommends that you only grant access to machines that need to use the interface to avoid unnecessary network traffic on the Web server.Complete the following steps to configure the Web server on a remote target.
The Web server is now enabled.
Collaborate with other users in our discussion forums
A valid service agreement may be required, and support options vary by country.