Skip to content

Allow for clearing a plugin's processing queue on-demand - #612

Draft
jwlodek wants to merge 4 commits into
areaDetector:masterfrom
jwlodek:allow-clearing-queue
Draft

jwlodek wants to merge 4 commits into
areaDetector:masterfrom
jwlodek:allow-clearing-queue

Conversation

@jwlodek

@jwlodek jwlodek commented Oct 23, 2026

Copy link
Copy Markdown
Member

At some of our beamlines, we use the plugin queues extensively to allow for keeping up with our faster cameras and detectors. Occasionally, however, some external issue (such as a motor following error) causes a failure mid-scan. Our scanning code closes the file plugins and stops the acquistion stream, but there currently is no way to clear the frames in a queue to be immediately ready for the next scan.

This PR adds a new PV for clearing a plugin's queue, for exactly this reason. Also added are unit tests for the new function.

I have yet to test this on a real setup but will plan to do so tomorrow. I'll also need to update the plugin operator screens.

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.

1 participant