Open DominicOram opened 1 month ago
I have this working for enums with <= 16 fields, but for more than that it is more complicated. After some trial and error and discussions, we are going to create a PVA-only backend for FastCS and migrate to that. This will give us things that CA doesn't support without hackery via qsrv info tags. This will be a longer term project.
For the meantime, Elements will just be a string. If it would be useful, I can add an Elements:Choices CA PV with the allowed values that ophyd could read. But it will not be packaged in a nice V4 structure like it will be eventually.
From a client perspective it is nice when there are only a select number of values that a PV could have to be able to use an enum i.e. a
bo
/mbbo
. Examples so far:BitDepthReadout
DetectorState
RoiMode
TriggerMode
Acceptance Criteria
mbbo
/mbbi
s with appropriate options