malcolm.modules.ADAndor.blocks

malcolm.modules.ADAndor.blocks.andor_driver_block(mri, prefix)

Hardware block corresponding to PVs used for ADAndor detector driver

Parameters
  • mri (str) – Malcolm resource id of the Block

  • prefix (str) – The root PV for the all records

malcolm.modules.ADAndor.blocks.andor_runnable_block(mri_prefix, pv_prefix, config_dir, min_acquire_period=0.0)

Device block corresponding to ADAndor + stat + pos + hdf writer.

  • Detector driver should have pv prefix $(pv_prefix):CAM

  • Pos should have pv prefix $(pv_prefix):POS

  • Stat should have pv prefix $(pv_prefix):STAT

  • HDF should have pv prefix $(pv_prefix):HDF5

Parameters
  • mri_prefix (str) – Malcolm resource id of the Block and prefix for children

  • pv_prefix (str) – PV prefix for driver and all plugins

  • config_dir (str) – Where to store saved configs

  • min_acquire_period (float) – Minimum acquire period for detector