JUNGFRAU: More operator friendly gain mode / setting operating condition parameters
For CalCat, we need to provide two parameters, Gain mode
and Gain Setting
(in calng).
Currently, this is explicit on the JungfrauCorrection
device; it has two floats which you enter and they are passed as is to CalCat.
For a while, it was being a bit smarter - both parameters are AFAICT deduced from one single string, settings
, on the control device, and so it just exposed a string parameter with matching options, automatically translating this into the two CalCat parameters.
In the currently deployed version, this "translation" is done by the condition watcher instead, giving the operator full power to query invalid combinations of the two.
During today's (01.06.2023) stand-up, it was suggested that we keep two parameters on the device, but make them strings with options instead.
So gain mode gets something like dynamic / fixed something (should clarify - or do we just match the options from settings
fully?) and gain setting gets low CDS
or high CDS
.
To reference:
Update: upon looking at the condition watcher again, I just remembered that with the "new" firmware, there's actually both settings
and gainMode
.
So that's nice.
Now setting
can be "gain0"
or "highgain0"
.
The condition watcher currently supports both versions, but I think we can drop this by now.