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.epics.demo.SensorGroup#
- class ophyd_async.epics.demo.SensorGroup(prefix: str, name: str = '', sensor_count: int = 3)[source]#
Bases:
StandardReadable
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
- async connect(sim: bool = False, timeout: float = 10.0)#
Connect self and all child Devices.
Contains a timeout that gets propagated to child.connect methods.
- Parameters:
sim – If True then connect in simulation mode.
timeout – Time to wait before failing with a TimeoutError.