Skip to Main Content
Cognex Support Hub
Logo

Example Script Function To Convert An Int Value To A String Showing The Hex Value Of The Int For The DVT Product Family | v1

ZIP: 0 MB

Version: 1

Release Date: 04/03/2009

Language: English

Download

Content Summary

This example file provides a script for creating concentric circles or donut-shaped blobs using a SoftSensor script with a DVT SmartImage sensor. It demonstrates features and capabilities of a new job template, containing a DVT product file with a script that constructs a donut-shaped blob SoftSensor from a polygon area blob tool, using three small fiducial SoftSensors. The script can be modified for other blob shapes and employs the SetParams Sensor function to set polygon locations. Updated 12/18/2003.

This downloadable example file shows a Script to Concentric Circles or Donut Shaped Blobs in a SoftSensor Script for use with a DVT SmartImage sensor, so the user understands the features and capabilities associated with a new job template. This file contains a DVT product file with a script that automatically constructs a donut shaped blob SoftSensor from a polygon area blob tool by using three points designated by three small fiducial SoftSensor. This script can be modified to automatically construct other blob shaped areas. This script uses the SetParams Sensor script function to set the locations of the polygon area SoftSensor. Updated 12/18/2003.