pyaml_cs_oa.epicsRW#
Read/write EPICS signal implementation.
Classes
|
Configuration model registered for the |
|
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:
EpicsConfigRWConfiguration model registered for the
EpicsRWdevice 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:
FloatSignalContainerPyAML read/write signal backed by an EPICS signal.
- get_cs()#
Return the control-system identifier.