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

PMAC: Have a run program that we can wait for #650

Closed
DominicOram opened this issue Jun 27, 2024 · 0 comments · Fixed by #661
Closed

PMAC: Have a run program that we can wait for #650

DominicOram opened this issue Jun 27, 2024 · 0 comments · Fixed by #661

Comments

@DominicOram
Copy link
Contributor

In I24 SSX we start the PMAC program by setting bps.abs_set(pmac.pmac_string, f"&2b{prog_num}r", wait=True) in the plan then later doing a loop waiting for yield from bps.rd(pmac.scanstatus) == 0. It would be cleaner if we could do this in the device. i.e. something like:

bps.abs_set(pmac.run_program, prog_num, wait=True) # This will only return when scanstatus becomes 0

Acceptance Criteria

  • We can easily run and wait on a pmac program as above
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 a pull request may close this issue.

1 participant