Note
Ophyd.v2 is included on a provisional basis until the v2.0 release and may change API on minor release numbers before then
ophyd.v2.epics.EpicsSignalW#
- class ophyd.v2.epics.EpicsSignalW(datatype: Type[T], write_pv: Optional[str] = None)#
Bases:
SignalW
[T
],_WithDatatype
[T
]Writeable EPICS Signal backed by a single PV
Methods
Connect self and all child Devices.
Set the value and return a status saying when it's done
Set
self.name=name
and eachself.child.name=name+"-child"
.Attributes
Return the name of the Device
The parent Device if it exists
Like ca://PV_PREFIX:SIGNAL, or "" if not set
Request that underlying PV connection is made using this Python datatype
Write PV.
Write
Channel
.- datatype: Type[T]#
Request that underlying PV connection is made using this Python datatype
- async connect(prefix: str = '', sim=False) None #
Connect self and all child Devices.
- Parameters:
- prefix:
Device specific prefix that can be used to nest Devices one within another. For example a PV prefix.
- sim:
If True then connect in simulation mode.
- set(value: T, wait=True) AsyncStatus #
Set the value and return a status saying when it’s done