ophyd_async.core.soft_signal_r_and_setter#

ophyd_async.core.soft_signal_r_and_setter(datatype: Type[T] | None = None, initial_value: T | None = None, name: str = '', units: str | None = None, precision: int | None = None) Tuple[SignalR[T], Callable[[T], None]][source]#

Returns a tuple of a read-only Signal and a callable through which the signal can be internally modified within the device. May pass metadata, which are propagated into describe. Use soft_signal_rw if you want a device that is externally modifiable