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 = '') 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. Use soft_signal_rw if you want a device that is externally modifiable