dodal.devices.hutch_shutter.HutchInterlock#

class dodal.devices.hutch_shutter.HutchInterlock[source]#

Device to check the interlock status of the hutch using PSS pv.

Parameters:
  • bl_prefix (str)

  • shtr_infix (str, default: '')

  • interlock_suffix (str, default: '-PS-IOC-01:M14:LOP')

  • name (str, default: '')

Methods

shutter_safe_to_operate()

If the status value is 0, hutch has been searched and locked and it is safe to operate the shutter.

Attributes

status

bl_prefix

async shutter_safe_to_operate() bool[source]#

If the status value is 0, hutch has been searched and locked and it is safe to operate the shutter. If the status value is not 0 (usually set to 7), the hutch is open and the shutter should not be in use.

Return type:

bool