You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The performance of the scan is currently tightly coupled to the polling loop that waits for the laser to pulse in the pulse_sync() function, when using the wait_for_value() function.
Performance could be improved by implementing an event-based solution using CA monitors. This is most likely what is implemented for Ophyd2, so this issue could be resolved in a couple of ways:
Either: investigate the current development state of Ophyd2 and evaluate if it is mature enough to be adopted for this experiment.
Or: re-implement wait_for_value() as an asynchronous function using a CA monitor.
The text was updated successfully, but these errors were encountered:
Did some investigation into ophyd 2 and worked with a basic device.
Asked for suggestions on Nikea slack. Tom Cobb said that within ophyd 2 wait_for_value could be implemented within the trigger or read method of an ophyd 2 device. He queried whether there may be a way of keeping the wait_for_value within the plan rather than the device (which would likely be more straightforward for our purpose) and so we are awaiting feedback on that front.
The performance of the scan is currently tightly coupled to the polling loop that waits for the laser to pulse in the
pulse_sync()
function, when using thewait_for_value()
function.Performance could be improved by implementing an event-based solution using CA monitors. This is most likely what is implemented for Ophyd2, so this issue could be resolved in a couple of ways:
Either: investigate the current development state of Ophyd2 and evaluate if it is mature enough to be adopted for this experiment.
Or: re-implement
wait_for_value()
as an asynchronous function using a CA monitor.The text was updated successfully, but these errors were encountered: