malcolm.modules.ADPandABlocks.controllers

class malcolm.modules.ADPandABlocks.controllers.PandARunnableController(mri: Anno(name='AMri', typ=<class 'str'>, description='The Malcolm Resource Identifier for the Block produced'), config_dir: Anno(name='AConfigDir', typ=<class 'str'>, description='Directory to write save/load config to'), prefix: Anno(name='APrefix', typ=<class 'str'>, description='Prefix for areaDetector records'), hostname: Anno(name='AHostname', typ=<class 'str'>, description='Hostname of the box') = 'localhost', port: Anno(name='APort', typ=<class 'int'>, description='Port number of the TCP server control port') = 8888, poll_period: Anno(name='APollPeriod', typ=<class 'float'>, description='Time between polls of PandA current value changes') = 0.1, template_designs: Anno(name='ATemplateDesigns', typ=<class 'str'>, description='A directory of templates with which to initially populate designs Attribute. These cannot be saved over.') = '', initial_design: Anno(name='AInitialDesign', typ=<class 'str'>, description='Design to load at init') = '', description: Anno(name='ADescription', typ=<class 'str'>, description='Description of the Block produced by the controller') = '')[source]
Parameters
  • mri (str) – The Malcolm Resource Identifier for the Block produced

  • config_dir (str) – Directory to write save/load config to

  • prefix (str) – Prefix for areaDetector records

  • hostname (str) – Hostname of the box

  • port (int) – Port number of the TCP server control port

  • poll_period (float) – Time between polls of PandA current value changes

  • template_designs (str) – A directory of templates with which to initially populate designs Attribute. These cannot be saved over.

  • initial_design (str) – Design to load at init

  • description (str) – Description of the Block produced by the controller