pyaml_cs_oa.float_signal#

Floating-point signal container implementation.

Classes

FloatSignalContainer(cfg)

Class that implements a PyAML Float/FloatArray Signal using ophyd_async Signals.

class pyaml_cs_oa.float_signal.FloatSignalContainer(cfg)#

Bases: OASignal

Class that implements a PyAML Float/FloatArray Signal using ophyd_async Signals.

get()#

Get the last written value(s) of the attribute.

Returns:

float | list[float] – The last written value(s).

readback()#

Return the readback value(s) with metadata.

Returns:

Value | list[Value] – The readback value(s) including quality and timestamp.

set(value)#

Write a value asynchronously to the device.

Parameters:

value (float | list[float]) – Value(s) to write to the attribute.

set_and_wait(value)#

Write a value(s) synchronously to the device.

Parameters:

value (float | list[float]) – Value to write to the attribute.