malcolm.modules.ADPco.blocks

malcolm.modules.ADPco.blocks.pco_driver_block(mri, prefix)

Hardware block corresponding to PVs used for PCO camera driver

Parameters:
  • mri (str) – Malcolm resource id of the Block
  • prefix (str) – The root PV for the all records
malcolm.modules.ADPco.blocks.pco_runnable_block(mri_prefix, pv_prefix, config_dir, label='pco', windows_drive='C', path_prefix='/dls')

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

  • Camera 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
  • label (str) – Beamline specific label for the detector
  • windows_drive (str) – Windows drive letter for Linux path translation
  • path_prefix (str) – Linux path base which is replaced with windows_drive letter