-
Notifications
You must be signed in to change notification settings - Fork 11
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
Create a device for XPRESS3 AreaDetector #473
Create a device for XPRESS3 AreaDetector #473
Comments
There is already an xpress3 mini, which has a very similar interface, in https://github.com/DiamondLightSource/dodal/tree/main/src/dodal/devices/xspress3_mini. Could we replace what's there with an |
looked into it, sounds very feasible |
I had a quick stab at making xpress3 mini, there are two, three things I am not sure about and need to get back to it:
Current state will probably work but it does not wait correctly. |
Arming the detector takes time therefore we would like to do it asynchronously in the plan. At the time of writing the previous code you could not run
Basically in arm_status &= self.acquire.set(AcquireState.ACQUIRE.value)
arm_status.wait(self.ARM_STATUS_WAIT) just becomes: await self.acquire.put(AcquireState.ACQUIRE.value)
I think the PV exists for xspress3 too:
I'm not 100% sure what it does, the reason we set it is probably because we just copied what GDA does when arming, we should understand it and document it though. Best to talk to more spectroscopy people or maybe controls? @iain-hall?
Great, do you have a branch? |
|
Pls make a draft PR |
we need more details on how is xpress3 used at i20-1 |
This is currently at the point where it can replace express and express mini with only signal and triggering functionally, we need to bring interested party to find out how express will be use. |
What exactly would you like to test? I can find some testing time on i03 probably |
@Relm-Arrowny we could add another issue for i10 to do later and merge this just for the devices that are out there now, like i03 |
I think the bottle neck for this is probably gathering use case for the extra functionally.
As for test, for now the only untested part is the triggering, I was more thinking if this is not needed now, I can have an express3 that I can play with extensively in a few month time. |
That is possible, but it wouldn't really add anything to the exiting xpress mini other than changing it to ophyd-aysnc. |
This is valuable in itself. I would suggest we get your PR merged with the goal just being to ensure behaviour is the same and then we can look at wider usecases later.
Ok, once your PR is merged I can test on i03 that it still all works as before, would you like to come down for the test? |
Okie, let me clean up the draft PR. I would love to see the test if it is convenient, if nothing else I would like to see how it done and may be ask some question. |
For SWIFT / i20-1 beamline for the initial tests with bluesky and blueapi.
Acceptance Criteria
Steps
The text was updated successfully, but these errors were encountered: