Up | CameraError | ImageComplete | LoadTools | SaveTools | ToolApply | ToolVariantChange | DataInputApply | Query Events | UpdateResultPanel | UpdateIndicatorPanel | ContextChange | Mouse Events | Timer | LogMsg

 

  

 
Timer
The System.Timer event is managed from python only.

Example handler:

def Handle_System_Timer(Timer):
#
# Timer = VT_BSTR
#
# Python defined timer events
#
  t=GetTimer(Timer)  #get the timer class
  if Timer=='T0':
    T0Timer()             #call user script T0Timer
    t.interval=1000     #set interval 1 sec
  elif Timer=='T1':
    T1Timer()             #call user script T1Timer
    t.active=0             #disable timer

More on python timers
 

 

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