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
This issue seems to be solved with _put_complete = True. I've run dozens of scans after changing it and didn't get stuck. ... It may be good to add it to the apstools.ApsUndulator as I think all beamlines would need it.
Here's how ophyd.EpicsSignal handles put_complete=True:
# using put completion:
# timeout and settle time is handled by the status object.
st = Status(self, timeout=timeout, settle_time=settle_time)
def put_callback(**kwargs):
st._finished(success=True)
self.put(value, use_complete=True, callback=put_callback)
return st
As reported by @gfabbris at APS 4-ID-Polar:
Thanks @gfabbris for the suggestion!
The text was updated successfully, but these errors were encountered: