Example Code

Vision Assistant Express VI Pattern Matching, Coordinate System, and Clamp

Code and Documents

Attachment

Overview

 Demonstrates how to use the Vision Assistant Express VI to accomplish several vision processing steps including pattern match, build coordinate system, and clamp.

 

Description

This example loads a template image that is matched in each new image to locate the new coordinate system. The example repositions measurement areas in the image according to the location of the coordinate system found. The example performs a distance measurement between two edges of the part inspected by using a clamp. The example then performs a diameter measurement using a circular edge finder. 

 

Hardware and Software Requirements

LabVIEW 2014 or compatible

Vision Development Module 2014 or compatible

 

Steps to Implement or Execute Code

  1. Download the zip file and extract the files in a known location, or find the example by going to Help >> Find Examples >> Toolkits and Modules >> Vision >> Vision Assistant Express VI, and open the Battery Clamp Inspection (Express).vi
  2. Run the Battery Clamp Inspection (Express).vi

 

Additional Information or References

 Front Panel:

Front Panel.PNG

 

Alyssa H.

Applications Engineer

National Instruments

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
manik69
Member
Member
on

Hi i'm new to this i have a some images for analyzing in drift, shade, poly fiber fault and give the result of good or bad product

now i try to vision development module this one is good for this project? and also suggest which industrial camera is used. this sample image capture from USB web cam. good imagegood imageshadeshadepoly fiberpoly fiberdirtdirt

Contributors