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.PandA#
- class ophyd_async.panda.PandA(prefix: str, name: str = '')[source]#
Bases:
CommonPandABlocks
Methods
Initialises all blocks and connects them.
Set
self.name=name
and eachself.child.name=name+"-child"
.Attributes
Return the name of the Device
The parent Device if it exists
- async connect(sim: bool = False, timeout: float = 10.0) None [source]#
Initialises all blocks and connects them.
First, checks for pvi information. If it exists, make all blocks from this. Then, checks that all required blocks in the PandA have been made.
If there’s no pvi information, that’s because we’re in sim mode. In that case, makes all required blocks.
- set_name(name: str)#
Set
self.name=name
and eachself.child.name=name+"-child"
.- Parameters:
name – New name to set
- pulse: DeviceVector[PulseBlock]#
- seq: DeviceVector[SeqBlock]#