DiamondLightSource / DiamondLightSource/mx-bluesky
Add sleep into Jungfrau prepare
- Dominant language
- Python
- Stars
- 4
- Forks
- 5
- Avg merge
- 1d 30m
- Merged PRs (30d)
- 2
Description
As described by @olliesilvester:
> After ophyd-async sets some JF signals (eg pedestal loops), the IOC appears to turn pedestal mode OFF after a short delay. This caused a race condition and meant pedestal mode was being turned off after we explicitly turn it on. Long term, need to investigate why this happens from the IOC. Short term, need to add an async sleep(0.3s) in JF prepare just before we turn on pedestal mode
This could either be done in the ophyd-async device or the `fly_jungfrau` bluesky plan. Probably fine to put it in bluesky plan as this is a temporary fix that should be sorted by being able to wait on the IOC to finish changing signals eventually.
## Acceptance Criteria
- The jungfrau waits a short time before turning on pedestal mode, allowing preventing the race condition with the IOC
Contributor guide
Assessment
This issue has not been assessed yet.