Fix MCS card omit callbacks on stop #151

Merged
appel_c merged 2 commits from fix/mcs-card-extra-point-on-stop into main 2026-03-19 11:11:55 +01:00
Owner

Previously, callbacks were not omitted when stop was called. This resulted in potentially receiving more data then expected, for example if an acquisition was stopped at the end of a scan due to other systems not completing in success. The subsequent erase_all.put(1) call would trigger a reading of a single value on all mca counter channels. The context manager now helps to avoid any updates that arrive after stop was called.

Previously, callbacks were not omitted when stop was called. This resulted in potentially receiving more data then expected, for example if an acquisition was stopped at the end of a scan due to other systems not completing in success. The subsequent `erase_all.put(1)` call would trigger a reading of a single value on all mca counter channels. The context manager now helps to avoid any updates that arrive after stop was called.
appel_c self-assigned this 2026-03-04 13:43:03 +01:00
appel_c requested review from holler 2026-03-04 13:43:12 +01:00
appel_c requested review from menzel 2026-03-04 13:43:12 +01:00
appel_c requested review from perl_d 2026-03-04 13:43:12 +01:00
appel_c requested review from wakonig_k 2026-03-04 13:43:12 +01:00
appel_c added 1 commit 2026-03-13 14:05:45 +01:00
fix(mcs): omit_mca_callbacks if stop is called.
CI for csaxs_bec / test (pull_request) Successful in 1m56s
CI for csaxs_bec / test (push) Successful in 1m57s
80afe2e3f0
appel_c force-pushed fix/mcs-card-extra-point-on-stop from c7db607aab to 80afe2e3f0 2026-03-13 14:05:45 +01:00 Compare
appel_c added 1 commit 2026-03-16 13:41:09 +01:00
fix(mcs): fix _progress_udpate
CI for csaxs_bec / test (push) Successful in 1m56s
CI for csaxs_bec / test (pull_request) Successful in 1m58s
90e0f0f3b3
holler approved these changes 2026-03-17 19:58:00 +01:00
appel_c merged commit d6a4fd37fc into main 2026-03-19 11:11:55 +01:00
Sign in to join this conversation.
No labels
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bec/csaxs_bec#151