pandablocks_ioc#

Top level API.

pandablocks_ioc.__version__: str#

Version number as calculated by pypa/setuptools_scm

Members

create_softioc

Create a PythonSoftIOC from fields and attributes of a PandA.

pandablocks_ioc.create_softioc(client: AsyncioClient, record_prefix: str, screens_dir: str | None = None, clear_bobfiles: bool = False) None[source]#

Create a PythonSoftIOC from fields and attributes of a PandA.

This function will introspect a PandA for all defined Blocks, Fields of each Block, and Attributes of each Field, and create appropriate EPICS records for each.

Parameters:
  • client – The asyncio client to be used to read/write to of the PandA

  • record_prefix – The string prefix used for creation of all records.

  • screens_dir – The directory to export bobfiles to.

  • clear_bobfiles – Can only be true if screens_dir is provided. Clears the screens_dir of bobfiles before creating new ones.