Up | Events | Commands | Python API | Using References | Release Notes

Release Notes
 

  

 
Commands
Command Parameters Description
Snapshot none Acquires one single image
Grab [imageno=n] Grab image, imageno is optional, defaults to 1
Start none Set continuous image capture - sets Live Video property true
Stop none Stop continous image capture - sets Live Video property false
Save [n:]filename Saves current image at given filename. Imageno n is optional, defaults to 1. If omitted all images will be saved in multi image configurations.
Load [n:]filename Loads image from given filename. Imageno n is optional, defaults to 1. In multi image configurations Load command must be given for all individual images.
Script script name Script name may be the script name defined in the list (without parentheses) or the python syntax of the script including parameters (in parentheses)
EditTool tool name Opens the tool configuration dialog if present
Info message Fires the Info event to notify the host application of any info message. The message parameter will be the parameters to the Info event.
Error message Fires the Error event to notify the host application of any error message. The message parameter will be the parameters to the Error event.
Command user defined text Fires the Command event and notifies the host application. The user defined text will be the parameters to the Command event. 
SetLicense license string TORDIVEL AS supplied license string for ImageX.
GetLicense none  Fires the Command event with parameters "GetLicenseResponse;License=<string>"
Console command command='Show' or 'Hide'
ShowHelp none Shows the ActiveX help pages
About none Shows the ActiveX About dialog

OnImage Example:

x=480/2
x=640/2
DrawMarker('',x,y,'yellow',25,2)                                #draws a red cross in center of image, size=25, style=2
DrawText('',x+30,y-20,'Origin','yellow')                      #draws some text just below center of image
ExecuteCmd('Save','Image.bmp')                              #saves image

More examples - VisionX

 

 

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