Note
Ophyd async is included on a provisional basis until the v1.0 release and may change API on minor release numbers before then
ophyd_async.core.StandardReadable#
- class ophyd_async.core.StandardReadable(name: str = '')[source]#
Bases:
Device
,Readable
,Configurable
,Stageable
Device that owns its children and provides useful default behavior.
When its name is set it renames child Devices
Signals can be registered for read() and read_configuration()
These signals will be subscribed for read() between stage() and unstage()
Methods
children
Connect self and all child Devices.
describe
describe_configuration
read
read_configuration
Set
self.name=name
and eachself.child.name=name+"-child"
.- param read:
Signals to make up
read()
stage
unstage
Attributes
Return the name of the Device
parent
The parent Device if it exists
- set_readable_signals(read: Sequence[SignalR] = (), config: Sequence[SignalR] = (), read_uncached: Sequence[SignalR] = ())[source]#
- Parameters:
read – Signals to make up
read()
conf – Signals to make up
read_configuration()
read_uncached – Signals to make up
read()
that won’t be cached