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.SampleStage#
- class ophyd_async.epics.demo.SampleStage(prefix: str, name='')[source]#
Bases:
Device
A demo sample stage with X and Y movables
Methods
Connect self and all child Devices.
Set
self.name=name
and eachself.child.name=name+"-child"
.Attributes
- async connect(mock: bool = False, timeout: float = 10.0, force_reconnect: bool = False)#
Connect self and all child Devices.
Contains a timeout that gets propagated to child.connect methods.
- Parameters:
mock – If True then use
MockSignalBackend
for all Signalstimeout – Time to wait before failing with a TimeoutError.
- property log#