The following system events are available in ImageX: The OnInit is called after configuration is loaded and the
control is initiated.
- Define global variables or do any other python
initialization here.
The OnClose event is called just before the component (host
application) closes.
The OnImage event is called after a new
complete imageset.
- Typically imageset processing,
drawing, image saving or notifying the host application new image is acquired.
The OnImageComplete event is called
after each new single image
- Typically some
drawing, image saving or notifying the host application new image is acquired.
The OnCameraCommand event is called
by the camera driver and depends of the camera
driver implementation.
The OnTimer event is called on user defined timer events,
The OnMouseMove, OnMouseDown and OnMouseUp event is called when the
user moves the mouse or clicks in the image,
The OnToolApply is called when the user presses the Apply or Ok
button of a tool
- Only applicable for VisionX when Scorpion Toolbox is activated.
More information
The user can extend the Python API by adding methods using the ImageX
script tab:
More information on Python Scripts
|