Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  05 Aug 2019, Stefan Ritt, Info, Precedence of equipment/common structure 
    Reply  06 Aug 2019, Thomas Lindner, Info, Precedence of equipment/common structure 
       Reply  06 Aug 2019, Stefan Ritt, Info, Precedence of equipment/common structure 
          Reply  06 Aug 2019, Stefan Ritt, Info, Precedence of equipment/common structure 
    Reply  09 Aug 2019, Konstantin Olchanski, Info, Precedence of equipment/common structure 
       Reply  13 Aug 2019, Stefan Ritt, Info, Precedence of equipment/common structure 
Message ID: 1640     Entry time: 05 Aug 2019     Reply to this: 1642   1656
Author: Stefan Ritt 
Topic: Info 
Subject: Precedence of equipment/common structure 
Today I fixed a long-annoying problem. We have in each front-end an equipment structure 
which defined the event id, event type, readout frequency etc. This is mapped to the ODB 
subtree

/Equipment/<name>/Common

In the past, the ODB setting took precedence over the frontend structure. We defined this 
like 25 years ago and I forgot what the exact reason was. It causes however many people 
(including myself) to fall into this trap: You change something in the front-end EQUIPMENT 
structure, you restart the front-end, but the new setting does not take effect since the 
(old) ODB value took precedence. After some debugging you find out that you have to both 
change the EQUIPMENT structure (which defines the default value for a fresh ODB) and the 
ODB value itself.

So I changed it in the current develop tree that the front-end structure takes precedence. 
You still have a hot-link, so if you want to change anything while the front-end is running 
(like the readout period), you can do that in the ODB and it takes effect immediately. But 
when you start the front-end the next time, the value from the EQUIPMENT structure is 
taken again. So please be aware of this new feature.

Happy BC day,
Stefan
ELOG V3.1.4-2e1708b5