-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error report from SIX #24
Comments
I think it happens due to a possibly failing profile_collection/startup/15-valves_and_shutters.py Lines 113 to 121 in 20e4163
which is called here from the user plan:
If something wrong happens on the staging/triggering steps, it does not unstage cleanly. We need a proper @tacaswell, does it sound right? |
October 7-9 (Mon-Wed), 2019 is a short shutdown, and a good time to test the fix. |
The relevant user scans code is here: https://github.com/NSLS-II-SIX/science_commissioning/blob/3551163fde22fafbe1446c42a41e274cfa801a17/00-user_info.py#L63-L78 |
See @awalter-bnl's points at #20 (comment) (for the same issue). |
The solution can be similar to https://github.com/NSLS-II-XFP/profile_collection/blob/bda09abf80e2813391d1c7d93ab6b06f7c61b302/startup/99-gui-ht.py#L768-L769: return (yield from bpp.finalize_wrapper(main_plan(file_name),
close_shutters())) |
Time lags between the
|
Another way to ensure cleanup is to reuse the def snap(dets):
@stage_decorator(dets)
def inner_snap():
for d in dets:
yield from bps.trigger(d, group='snap')
yield from bps.wait(group='snap')
yield from inner_snap() |
Reported by @pelliciari
Trac xref: #3935: CCD stopped working
The text was updated successfully, but these errors were encountered: