ophyd_async.core.assert_value#

async ophyd_async.core.assert_value(signal: SignalR[T], value: Any) None[source]#

Assert a signal’s value and compare it an expected signal.

Parameters:
  • signal – signal with get_value.

  • value – The expected value from the signal.

Notes

Example usage::

await assert_value(signal, value)