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

Slits async #383

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Slits async #383

wants to merge 7 commits into from

Conversation

canismarko
Copy link
Contributor

@canismarko canismarko commented Feb 20, 2025

This PR adds ophyd-async devices for the blade slits (e.g. independent top/bottom jaws), and aperture slits (e.g. high-heat-load slits at 25-ID-A).

The aperture slits are straightforward because they are JBOM (just a bunch of motors). The blade slits use the EPICS optics module, and there is not a PV that reports when the motors are done for each axis (e.g. horizontal center moves both the inboard and outboard blades). This means the positioner must rely on the readback value matching the setpoint to know when it is done. By default, our slits have the precision set to something way higher than what the motors can accomplish. This PR also includes a plan to set up a set of slits with the correct precision so that scanning is possible.

Both kinds of slits deliberately do not include a way to move the individual axes (real motors in the case of aperture slits and individual blades in the case of blade slits). The real motors will still be available as motors if they need to be scanned.

Things to do before merging:

  • add tests
  • write docs
  • update iconfig_testing.toml
  • flake8, black, and isort
  • Test signals at the beamline
  • Make sure the positioners report done properly

@canismarko canismarko marked this pull request as draft February 20, 2025 16:29
@canismarko canismarko added qa Ready to get tested at the beamline device support Issues that allow support for certain kinds of hardware labels Feb 20, 2025
- Added a plan to set up the slit precision.
- The ophyd-async Positioner now uses precision to tell when it's done
- Fixed some signal data types for the blade slits.
@canismarko canismarko marked this pull request as ready for review February 20, 2025 20:31
@canismarko canismarko requested a review from cjsunatgh February 21, 2025 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
device support Issues that allow support for certain kinds of hardware qa Ready to get tested at the beamline
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant