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.panda.DataBlock
-
class ophyd_async.panda.DataBlock(name: str = '')[source]
Bases: Device
Methods
children
|
|
connect
|
Connect self and all child Devices. |
set_name
|
Set self.name=name and each self.child.name=name+"-child" . |
Attributes
-
hdf_directory: SignalRW[str]
-
hdf_file_name: SignalRW[str]
-
num_capture: SignalRW[int]
-
num_captured: SignalR[int]
-
capture: SignalRW[bool]
-
flush_period: SignalRW[float]
-
children() → Iterator[Tuple[str, Device]]
-
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:
-
-
property name: str
Return the name of the Device
-
parent: Device | None = None
The parent Device if it exists
-
set_name(name: str)
Set self.name=name
and each self.child.name=name+"-child"
.
- Parameters:
name – New name to set