pyaml_cs_oa.controlsystem#

PyAML control-system integration built on ophyd-async.

Classes

OphydAsyncControlSystem(name[, prefix, ...])

Generic PyAML control system using an ophyd-async backend.

class pyaml_cs_oa.controlsystem.OphydAsyncControlSystem(name, prefix='', backend=None, timeout_ms=3000, catalog=None, debug_level=None)#

Bases: ControlSystem, DynamicValidation

Generic PyAML control system using an ophyd-async backend.

Create an ophyd-async control-system interface.

Parameters:
  • name (str) – Name used to identify the control system.

  • prefix (str, optional) – Prefix added to the PV or attribute name. It can be a for instance, TANGO_HOST, or a PV prefix.

  • backend (str) – Type of backend (Tango or EPCIS) to use when no catalog is specified.

  • timeout_ms (int) – Default hardware access timeout in milliseconds.

  • catalog (Catalog or None, optional) – Catalog instance or catalog name used to resolve PyAML device keys. If None specified a dynamic catalog is used according to backend property.

  • debug_level (str | int | None, optional) – Debug verbosity level. Such as INFO, DEBUG, WARNING, ERROR, CRITICAL. Or 10, 20, 30, 40, 50.

attach(devs)#

Attach configured signals; retained for compatibility.

attach_array(devs)#

Attach an array of configured signals; retained for compatibility.

get_aggregator()#

Return a new empty aggregator for batched device operations.

get_device_access(ref)#

Resolve or construct a device-access object from a reference.

name()#

Return the name of the control system.

Returns:

str – Name of the control system.

Return type:

str