pyaml_cs_oa.epicsR#

Read-only EPICS signal implementation.

Classes

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

Configuration model registered for the EpicsR device class.

EpicsR(cfg)

PyAML read-only signal backed by an EPICS read signal.

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

Bases: EpicsConfigR

Configuration model registered for the EpicsR 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.epicsR.EpicsR(cfg)#

Bases: FloatSignalContainer

PyAML read-only signal backed by an EPICS read signal.

get_cs()#

Return the control-system identifier.