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.EpicsSignalX#
- class ophyd.v2.epics.EpicsSignalX(write_pv: Optional[str] = None, write_value: Any = 0, wait=True)#
Bases:
SignalExecutable EPICS Signal that puts a set value to a PV on execute()
Methods
Connect self and all child Devices.
Execute the Signal, putting
write_valuetowrite_pvSet
self.name=nameand 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
Write PV.
What value to write to the PV on execute()
Whether to wait for the put to callback before returning from set()
Write
Channel.- write_pv#
Write PV. Can be prefixed by passing prefix in connect()
- write_value#
What value to write to the PV on execute()
- wait#
Whether to wait for the put to callback before returning from set()
- async connect(prefix: str = '', sim=False)#
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.
- async execute() None#
Execute the Signal, putting
write_valuetowrite_pv