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
...and uncomment them in main, outside where the plan is running, everything works.
I suspect this is more interplay issues between pyepics and aioca. See #89 and #291. Also I don't think we should be making blocking calls to connect inside a plan in the first place, but this is what dodal potentially does if you have, say, i24.pmac() inside your plan. Ideally we should defer to the RunEngine, maybe with an ensure_connected() plan?
The text was updated successfully, but these errors were encountered:
Issue encountered on I24
If a plan is running and I attempt to connect ophyd and ophyd-async devices within it, the connection freezes, code to reproduce below:
If I comment out these lines in the plan
...and uncomment them in main, outside where the plan is running, everything works.
I suspect this is more interplay issues between pyepics and aioca. See #89 and #291. Also I don't think we should be making blocking calls to
connect
inside a plan in the first place, but this is what dodal potentially does if you have, say,i24.pmac()
inside your plan. Ideally we should defer to theRunEngine
, maybe with anensure_connected()
plan?The text was updated successfully, but these errors were encountered: