Up | Setup | Toolbox | Visualisation | Results | Examples | Release Notes

 

  

 
Examples

Example 1 : Results

# a simple component used to create two string for the result panel

# the toolbox consists of two DataImport and two simple scripts

# sample python script

x = GetValue('Posisjon.X')
y = GetValue('Position.Y')
angle = GetIntValue('Position.Rotasjon')

str0 = 'Position = (x=%(x).1f,y=%(y).1f) - Angle = %(angle).0f degrees' %vars()
SetValue('PositionString.Text',str0)

# two string results are created and exposed

 
 

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