Skip to content

Conversation

@EmsArnold
Copy link
Contributor

If you have a scan running, there is currently no way to abort the scan. This becomes an issue if blueapi is waiting for some event to happen which was not recorded (e.g. a mismatch of frames between panda/motion controller and detector in a fly scan).
This adds an Abort button to the spectroscopy page, which sets the worker state to ABORTING, which immediately stops the task and marks any open runs as 'Failure'.

@EmsArnold EmsArnold marked this pull request as ready for review January 27, 2026 15:07
@EmsArnold
Copy link
Contributor Author

Successfully stops scan and leaves blueapi in an idle state. Successful scans can be run after use of the abort button.

@EmsArnold EmsArnold merged commit cab1d31 into main Jan 27, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants