Fix MCS card omit callbacks on stop #151
Reference in New Issue
Block a user
Delete Branch "fix/mcs-card-extra-point-on-stop"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.c7db607aabto80afe2e3f0