Note
Ophyd async is considered experimental until the v1.0 release and may change API on minor release numbers before then
ophyd_async.epics.testing
#
Members
|
|
|
|
|
|
Helper function to return a connected example device. |
|
Get TestingIOC instance with the example databases loaded. |
|
|
|
|
- async ophyd_async.epics.testing.connect_example_device(ioc: TestingIOC, protocol: Literal['ca', 'pva']) ExamplePvaDevice | ExampleCaDevice [source]#
Helper function to return a connected example device.
- Parameters:
ioc (TestingIOC) – TestingIOC configured to provide the records needed for the device
protocol (Literal["ca", "pva"]) – The transport protocol of the device
- Returns:
a connected EpicsDevice with signals of many EPICS record types
- Return type:
ExamplePvaDevice | ExampleCaDevice