pyaml_cs_oa.epicsRW#

Read/write EPICS signal implementation.

Classes

ConfigModel(*, read_pvname, write_pvname[, ...])

Configuration model registered for the EpicsRW device class.

EpicsRW(cfg)

PyAML read/write signal backed by an EPICS signal.

class pyaml_cs_oa.epicsRW.ConfigModel(*, read_pvname, write_pvname, timeout_ms=3000, range=None, index=None, unit='')#

Bases: EpicsConfigRW

Configuration model registered for the EpicsRW device class.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

model_config: ClassVar[ConfigDict] = {'extra': 'forbid'}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class pyaml_cs_oa.epicsRW.EpicsRW(cfg)#

Bases: FloatSignalContainer

PyAML read/write signal backed by an EPICS signal.

get_cs()#

Return the control-system identifier.