mxcubecore.HardwareObjects.MicrodiffZoom#

MicrodiffZoom

Example xml file: <object class=”MicrodiffZoom”>

<username>zoom</username> <exporter_address>wid30bmd2s:9001</exporter_address> <value_channel_name>CoaxialCameraZoomValue</value_channel_name> <state_channel_name>ZoomState</state_channel_name> <!– if levels do not corresponf to values –> <values>{“LEVEL1”: 1, “LEVEL2”: 2, “LEVEL3”: 3, “LEVEL4”: 4, “LEVEL5”: 5, “LEV

EL6”: 6}</values> </object>

Classes

MicrodiffZoom(name)

MicrodiffZoom class

class mxcubecore.HardwareObjects.MicrodiffZoom.MicrodiffZoom(name)[source]#

Bases: ExporterNState

MicrodiffZoom class

init()[source]#

Initialize the zoom

set_limits(limits=(None, None))[source]#

Set the low and high limits. :param limits: two integers tuple (low limit, high limit). :type limits: tuple

update_limits(limits=None)[source]#

Check if the limits have changed. Emits signal limitsChanged. :param limits: two integers tuple (low limit, high limit). :type limits: tuple

update_value(value=None)[source]#

Check if the value has changed. Emits signal valueChanged. :param value: value