mxcubecore.HardwareObjects.BlissShutterProxy#

BlissShutterProxy 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: BlissShutterProxy.BlissShutterProxy
configuration:
  actuator_name: safshut
  type: tango
  username: Safety shutter

Classes

BlissShutterProxy(name)

BLISS implementation of AbstractShutter, using BlissProxy/blissclient.

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

Shutter states definitions.

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

Bases: AbstractShutter

BLISS implementation of AbstractShutter, using BlissProxy/blissclient.

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.BlissShutterProxy.BlissShutterStates(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]#

Bases: Enum

Shutter states definitions.