Up | Scorpion Python Kernel | Python Script Examples | Console Window | Debugging Python Script | Release Notes | Sample Profiles

Built-in Python Classes | Scorpion Module | Dialogs | Unsupported Modules
 

  

 
Scorpion Python Kernel

The Python Script Kernel or the built-in Scorpion modules contains the commands available to access Scorpion from Python. The commands are available from tool scripts and from the Python script in Central.

The most important commands are:

  • GetValue - access to all processing results and system parameters
  • SetValue - change processing results and system parameters.
  • GetImageMatr - get an image for custom image processing
  • ExecuteCmd - execute Scorpion commands

 Additonal kernel mode methods

  • SetPalette(imageName,paletteName)

List of methods:

Built-in Python Classes
Scorpion Module
Dialogs
Unsupported Modules

Example 1: Import Scorpion Module

import Scorpion
from Scorpion import SetValue, GetValue
 

Scorpion Vision Version XV  : Build 764 - Date: 20200529
Scorpion Vision Software® is a registered trademark of Tordivel AS.
Copyright © 2000 - 2020 Tordivel AS.