Skip to content
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

Ophyd-async support for the Xspress3 family of detectors #316

Merged
merged 20 commits into from
Dec 21, 2024

Conversation

canismarko
Copy link
Contributor

@canismarko canismarko commented Nov 29, 2024

This PR adds support for the Xspress3 pulse processor electronics using ophyd-async devices. Not many bells-and-whistles; just a detector that saves the area detector frames to disk so they can be read out by Tiled.

One thing I discovered while writing this, erasing the Xspress3 detector triggers a new, blank frame to be sent to the plugins. One implication of this is that the detector needs to be erased before starting the HDF writer plugin, and erase_on_start needs to be off.

Support has not been removed for the previous threaded Ophyd support.

Things to do before merging:

  • add tests
  • write docs
  • update iconfig_testing.toml
  • flake8, black, and isort

@canismarko canismarko marked this pull request as ready for review November 30, 2024 03:34
@canismarko
Copy link
Contributor Author

@Cathyhjj approved PR #322 which is a branch of this PR, so I'm considering that approval to apply to this one too.

@canismarko
Copy link
Contributor Author

Tests will fail until #320 is merged.

@canismarko canismarko merged commit d7c5456 into main Dec 21, 2024
1 check passed
@canismarko canismarko deleted the async-xspress branch December 21, 2024 19:51
@yannachen
Copy link
Collaborator

yannachen commented Dec 21, 2024 via email

@canismarko
Copy link
Contributor Author

I am ready to review the PR, and then found it merged. I will skip this task. Sincerely, Yanna

Ah, yeah. I realized @Cathyhjj already partially reviewed this indirectly, so I merged to work on other things that need it. It could use some more scrutiny when we have access to real hardware again, though.

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.

2 participants