Use PVI information to fill in PVs on FastCS Eiger#806
Use PVI information to fill in PVs on FastCS Eiger#806shihab-dls wants to merge 37 commits intomainfrom
Conversation
f8a65da to
4776910
Compare
|
This API doesn't seem very clear now that I am seeing it on the ophyd side... Maybe we can improve the names in fastcs-odin. |
Above is a table of current Odin signal names (i.e., ADOdin), and API signal names (i.e., Fast-CS Odin) that are not in agreement. Recommended names are provided (yet to be filled). |
|
Can I suggest spinning the name changes off into a separate issue? Doing just a find and replace later won't be too much effort and it decouples getting the issue complete from fastcs changes |
The name changes in ophyd-async? Unfortunately we can't do this, the name in PVI is the name of the attribute in the ophyd-async Device. This ticket is to use PVI to make the Eiger and Odin Devices, so I think we need to decide on names as part of this ticket... It's possible to make a different ticket that keeps the old attribute names, but fills in the PVs from the new FastCS Eiger, but I'm not sure it is worth the effort to do that intermediate step unless you need to keep switching between the two IOCs, optimizing both... Can we discuss in standup today? |
This PR is now waiting on FastCS #141, which should remove the need for us to wait on detector status. |
|
With the merging of FastCS #141, this PR should be ready for re-review. Current State of Changes
EDIT: will do a final check on Odin signals, then re-request UPDATE:
|
| ): | ||
| self.drv = EigerDriverIO(prefix + drv_suffix) | ||
| self.odin = Odin(prefix + hdf_suffix + "FP:") | ||
| self.odin = OdinHdfIO(prefix + hdf_suffix + "FP:") |
There was a problem hiding this comment.
As discussed in person, I wonder if this should be structured to point to the top level controller of the FastCS-odin. The we would have det.odin.fp.hdf.file_path rather than det.odin.file_path, in case there are other things to go in fr or other plugins in fp we need to reference later. OdinWriter can still take an OdinHdfIO in its constructor if all the PVs it needs are in that Device
|
Following #862 and #863 the changes in here are effectively to move us from ADOdin to fast-cs odin. I would suggets closing this PR and making a new one for that but leave it up to @shihab-dls |
Fixes #551
This PR should create FastCS modules for Eiger and Odin, and write the Eiger in a declarative style with typed annotations. Currently annotations are limited to signals internatlly used by the device, and those accessed in the MX DAQ Eiger arming chain. These signals should now follow the expected format of PVI attributes.
Notes for reviewer:
These changes were made for FastCS Odin as well;
capturesignal, which readsWritingand writes toConfigHDFWritewas split into two signals, which seems messy. Moreover, attribute names seem quite ambiguous.