Often the soft signals on a device may be derived from the value of real hardware signals. As such, when the soft signal is read it should read the real hardware and provide its value based on this. This can be done by having the device optionally provide a readback function when creating the signal.
Often the soft signals on a device may be derived from the value of real hardware signals. As such, when the soft signal is read it should read the real hardware and provide its value based on this. This can be done by having the device optionally provide a readback function when creating the signal.
See https://github.com/DiamondLightSource/dodal/issues/782 for more detail on the usecase and https://github.com/DiamondLightSource/dodal/pull/789 for a solution.