bluesky.plan_stubs.check_value#

bluesky.plan_stubs.check_value(obj: Checkable[T_co], value: T_co) → Generator[Msg, Any, None][source]#

Check that a valid setpoint has been given.

Calls obj.check_value(value), routing the check to the device implementation.

This plan should be used before calling set(value) to ensure that the value is acceptable for the device.

Parameters:
objCheckable[T_co]

The object to check.

valueT_co

The value to check.