mxcubecore.HardwareObjects.DESY.DigitalZoomMotor#

Classes

DigitalZoomMotor(name)

Works with camera devices which provide zoom_exists, set_zoom, get_zoom and get_zoom_min_max <object class="DigitalZoomMotor"> <username>Zoom</username> <actuator_name>Zoom</actuator_name> <object href="/mjpg-stream-video" role="camera"/> </object>

class mxcubecore.HardwareObjects.DESY.DigitalZoomMotor.DigitalZoomMotor(name)[source]#

Bases: AbstractMotor, HardwareObject

Works with camera devices which provide zoom_exists, set_zoom, get_zoom and get_zoom_min_max <object class=”DigitalZoomMotor”>

<username>Zoom</username> <actuator_name>Zoom</actuator_name> <object href=”/mjpg-stream-video” role=”camera”/>

</object>

get_value()[source]#

Read the actuator position.

Returns:

Actuator position.

init()[source]#

Initialise tolerance property

motor_position_changed(position=None)[source]#
Descript.called by move and updateState. if the position has

changed valueChanged is fired if the position is at one of the limits the state is set accordingly on state changes, stateChanged is fired

stop()[source]#

Descript. : does nothing, for position change is instantaneous

update_state()[source]#

Descript. : forces position update