mxcubecore.HardwareObjects.MicrodiffLightBeamstop#

Combine setting the back light IN with moving the beamstop out. This is used to set the back light in/out faster, than using the phase CENTRING - the beamstop motor moves only if needed. Example xml file: <object class=”MicrodiffLightBeamstop”>

<username>Back Light</username> <exporter_address>wid30bmd2s:9001</exporter_address> <actuator_name>BackLightIsOn</actuator_name> <values>{“IN”: True, “OUT”: False}</values> <use_hwstate>True</use_hwstate> <object role=”beamstop” href=”/udiff_beamstop”/>

</object>

Classes

MicrodiffLightBeamstop(name)

Control backlight, move the beamstop to safety position

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

Bases: ExporterNState

Control backlight, move the beamstop to safety position

handle_beamstop(value)[source]#

Move the beamstop as function of the value of the back light. :param (enum): light value.

init()[source]#

Initialize the light and the beamstop object