malcolm.modules.ADSimDetector.blocks

malcolm.modules.ADSimDetector.blocks.sim_detector_driver_block(mri, prefix)

Hardware Block corresponding to PVs used for SimDetector detector driver

  • simDetector.template should have pv prefix $(prefix)
Parameters:
  • mri (str) – Malcolm resource id of the Block
  • prefix (str) – The root PV for the all records
malcolm.modules.ADSimDetector.blocks.sim_detector_runnable_block(mri_prefix, pv_prefix, config_dir, label='SimDetector', drv_suffix='DET')

Device Block corresponding to SimDetector + stat + pos + hdf writer.

  • Detector driver should have pv prefix $(pv_prefix):$(drv_suffix)
  • 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
  • label (str) – Beamline specific label for the detector
  • drv_suffix (str) – PV suffix for detector driver