-
Notifications
You must be signed in to change notification settings - Fork 2
Description
As a muon scientist I would like to be able to change the ICP autosave frequency from a genie command.
Acceptance cirteria
- A new command
change_autosavewith argumentfreq(integer) is added - this can be tested on a simulated DAE(there is no direct PV for this - you'll need to look in the ibex GUI experiment setup to check if it changed, the "Autosave every" field at bottom of Data Acquisition tab)
Notes
The planning meeting agreed this should be done with a PV and not XML, @FreddieAkeroyd agreed to reword the ticket after the meeting
like many of the change command, this involves modifying a field in the XML that is passed to ISISICP. Unfortunately no fields in the particular block have been changed before, so there is a bit of setup work to do.
review genie_change_cache.py and how _change_dae_settings works - it reads XML via a DAE:DAESETTINGS PV, in this case you need to use DAE:UPDATESETTINGS and you are looking for a field like
<U32>
<Name> Frequency</Name>
<Val>5000</Val>
</U32>
(and there may really be a space before frequency)
so in genie_change_cache that is self._change_xml(root, "U32", " Frequency", value) so follow through how a DAE parameter like number of periods is done and then add necessary code to manipulate the UPDATESETTINGS block
Planning
08/05/2025 - 0:32:50