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 yml configuration:

class: BlissShutter.BlissShutter
configuration:
  actuator_name: safshut
  type: tango
  username: Safety shutter
objects:
  controller: bliss.yaml

Classes

BlissShutter(name)

BLISS implementation of AbstractShutter

BlissShutterStates(value[, names, module, ...])

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]#

Initialise 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 Frontend shutter.

class mxcubecore.HardwareObjects.BlissShutter.BlissShutterStates(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]#

Bases: Enum

Shutter states definitions.