pyaml_cs_oa.container#

Synchronous and reconnecting adapters around ophyd-async signals.

Classes

OAReadback(r_signal)

Adapter exposing asynchronous and synchronous readback operations.

OASetpoint(w_signal[, r_signal])

Adapter exposing setpoint read, write, and wait operations.

class pyaml_cs_oa.container.OAReadback(r_signal)#

Bases: object

Adapter exposing asynchronous and synchronous readback operations.

async async_get()#

Fetch the current value, retrying once after reconnect.

async async_read()#

Fetch a reading, retrying once after reconnect.

get()#

Synchronous wrapper around async_get().

class pyaml_cs_oa.container.OASetpoint(w_signal, r_signal=None)#

Bases: object

Adapter exposing setpoint read, write, and wait operations.

async async_get()#

Fetch the setpoint, retrying once after reconnect.

async async_read()#

Fetch a setpoint reading, retrying once after reconnect.

async async_set(value)#

Submit a value, retrying once after reconnect.

async async_set_and_wait(value)#

Set and await a matching readback value, with recovery.

get()#

Synchronous wrapper around async_get().

set(value)#

Synchronous wrapper around async_set().

set_and_wait(value)#

Synchronous wrapper around async_set_and_wait().