Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  28 Jun 2021, Marco Francesconi, Suggestion, ODB Load in Sequencer 
    Reply  28 Jun 2021, Stefan Ritt, Suggestion, ODB Load in Sequencer 
    Reply  28 Jun 2021, Konstantin Olchanski, Suggestion, ODB Load in Sequencer 
       Reply  28 Jun 2021, Stefan Ritt, Suggestion, ODB Load in Sequencer 
          Reply  28 Jun 2021, Konstantin Olchanski, Suggestion, ODB Load in Sequencer 
             Reply  28 Jun 2021, Stefan Ritt, Suggestion, ODB Load in Sequencer 
                Reply  28 Jun 2021, Konstantin Olchanski, Suggestion, ODB Load in Sequencer 
                   Reply  28 Jun 2021, Marco Francesconi, Suggestion, ODB Load in Sequencer 
                      Reply  29 Jun 2021, Marco Francesconi, Suggestion, ODB Load in Sequencer 
                         Reply  30 Jun 2021, Stefan Ritt, Suggestion, ODB Load in Sequencer 
Message ID: 2243     Entry time: 28 Jun 2021     In reply to: 2242     Reply to this: 2244
Author: Stefan Ritt 
Topic: Suggestion 
Subject: ODB Load in Sequencer 
> > Hi all,
> > for my experiment we ended up with the need of changing lot of parameters (~9000 values) in the ODB at once by the sequencer.
> > The very first solution was to use a sequencer function with a ton of ODBSET calls, however a more elegant solution may be to provide an "ODBLoad" command which mimics the "load" command of odbedit.
> > I already have a working modification to the sequencer for this, if you agree I will commit it to a dedicated brach.
> > Let me know if you think this is a good approach.
> > 
> 
> Sounds like a good idea. I trust you are using the data in json format? Perhaps the command
> should be named "ODBLoadJSON" to be clear about this.
> 
> (JSON is preferred over .odb and .xml for many reasons (ask me))

What if some experiment keep some files in .xml format (ask me!). The routine should check for the extension and support all three formats.

Stefan
ELOG V3.1.4-2e1708b5