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

  

CameraError
The CameraError event is called when a Camera Error occurs. The user may try to reopen the camera in case of camera dropout.

Example:

def Handle_System_CameraError(CameraNo,Camera):
#
# CameraNo = VT_I4
# Camera = VT_BSTR
#
  global camErrCnt  #global variable declared in CentralStart script
  print 'CameraError',CameraNo,Camera
  camera=GetCamera(Camera)
  if camErrCnt<3:
    camera.open=0
    camera.open=1
    if camera.open:
      camErrCnt=0
    else:          
      camErrCnt=camErrCnt+1

 

Scorpion Vision Software Version: 9.2.0.515 - Date: 20120502
Scorpion Vision Software® is a registered trademark of Tordivel AS.
Copyright © 2000 - 2012 Tordivel AS.