Up | Grab | Inspect | GetImageProp | GetImagePropRange | SetImageProp | Image | Camera

 

  

 
Inspect

Inspects aquired image(s) and closes the inspection cycle 

Syntax:

Inspect; <imageno=value> | <image=value>

where

  • imageno - [0..n>
  • image - name of image

Partial image inspection

  • Inspect;imageno=n

will process all tools with image index=n.

Note: The system cannot handle the tools dependencies across images. The user must handle this manually.

When sub image processing, the toollist is reset before processing of the first image in the inspection cycle.

A parameter less Inspect command must be issued to close the inspection cycle. Closing the inspection cycle updates the result panels,  statistics, log and curves.

Stepwise inspecting images are useful to reduce the inspection cycle - one can start the inspection before all images is collected - using available cpu-resources while collection images or to eliminate image waiting time.

Example 2: Standard configuration - One, two or more cameras

System Event Commands Guard Comment
GrabExecute grab   grabs all images
AfterGrab inspect System.Running processes all collected images and closes the inpection cycle

Example 3: Multi image configuration setup, 1 camera and 3 images with partial inspect

System Event Commands Guard Comment
GrabExecute grab;imageno=1   aqcuire first image
OnImage1Complete grab;imageno=2
inspect;imageno=1
  aqcuire image 2 and process all tools with image index 1 while waiting for image 2
OnImage2Complete grab;imageno=3
inspect;imageno=2
  aqcuire image 3 and process all tools with image index 2 while waiting for image 3
AfterGrab inspect System.Running processes last image (0 and 3) and closes the inspection cycle

Note: There must always be a parameter less Inspect command in the inspection cycle.

Example 4: Multi image configuration setup, sw / hw-trigger - inspect as images arrive

This setup can improve cycle-time eliminating waiting period while images are collected.

System Event Commands Guard Comment
GrabExecute grab   arm images
OnImage1Complete inspect;imageno=1   process all tools with image index 1
OnImage2Complete inspect;imageno=2 process all tools with image index 2
...      
OnImageNComplete inspect;imageno=N   process all tools with image index N
AfterGrab inspect System.Running closes the inspection cycle

Note: There must always be a parameter less Inspect command in the inspection cycle.

More information on System Actions

 

Scorpion Vision Version XII : Build 646 - Date: 20170225
Scorpion Vision Software® is a registered trademark of Tordivel AS.
Copyright © 2000 - 2017 Tordivel AS.