malcolm.modules.scanning.blocks

malcolm.modules.scanning.blocks.attribute_block(pv, mri, name, rbv='')
Parameters
  • pv (str) – Control PV

  • mri (str) – MRI of the stateful controller

  • name (str) – Attribute name

  • rbv (str) – Readback PV

malcolm.modules.scanning.blocks.directory_monitor_block(manager_pv, mri)
Parameters
  • manager_pv (str) – PV root for the directoryMonitor Manager

  • mri (str) – MRI of the controller

malcolm.modules.scanning.blocks.double_trigger_block(mri, detector)
Parameters
  • mri (str) – Malcolm resource id of the Block

  • detector (str) – MRI of the detector to support 2 triggers per step

malcolm.modules.scanning.blocks.scan_runner_block(mri, config_dir, scan_block, initial_design)
Parameters
  • mri (str) – Malcolm resource id of the Block

  • config_dir (str) – Directory to save configurations

  • scan_block (str) – Malcolm resource id of the scan block

  • initial_design (str) – Initial design to load for the controller

malcolm.modules.scanning.blocks.shutter_block(shutter_pv, mri, shutter_rbv='')
Parameters
  • shutter_pv (str) – PV to control position of shutter

  • mri (str) – MRI for the stateful controller

  • shutter_rbv (str) – Readback PV for position of shutter

malcolm.modules.scanning.blocks.unrolling_block(mri)
Parameters

mri (str) – Malcolm resource id of the Block