mxcubecore.HardwareObjects.BlissShutter#

BlissShutter class - interface for shutter controlled by BLISS Implements _set_value, get_value methods Bliss states are: UNKNOWN, OPEN, CLOSED, FAULT “MOVING”, “DISABLE”, “STANDBY”, “RUNNING” Example xml file: <devic class=”BlissShutter”>

<username>Safety Shutter</username> <name>safshut</name> <type>tango</type> <object href=”/bliss” role=”controller”/>

</object>

Classes

BlissShutter(name)

BLISS implementation of AbstractShutter

BlissShutterStates(value)

Shutter states definitions.

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

Bases: AbstractShutter

BLISS implementation of AbstractShutter

SPECIFIC_STATES#

alias of BlissShutterStates

get_state()[source]#

Get the device state. :returns: Device state. :rtype: (enum ‘HardwareObjectState’)

get_value()[source]#

Get the device value :returns: Enum member, corresponding to the value or UNKNOWN. :rtype: (Enum)

init()[source]#

Initilise the predefined values

set_mode(value)[source]#

Set automatic or manual mode for a Frontend shutter :param value: MANUAL or AUTOMATIC :type value: str

Raises: NotImplementedError: Not a Fronend shutter.

class mxcubecore.HardwareObjects.BlissShutter.BlissShutterStates(value)[source]#

Bases: Enum

Shutter states definitions.