Back Midas Rome Roody Rootana
  Midas DAQ System, Page 20 of 162  Not logged in ELOG logo
    Reply  27 Nov 2025, Stefan Ritt, Suggestion, Improve process for adding new variables that can be shown in history plots 
> 1) history is independent from "runs", we see a change, we apply it (even if it takes 10 sec or 2 minutes).

> 2) "nothing should change during a run", we must process all changes before we start a run (starting a run takes forever),
    Reply  27 Nov 2025, Stefan Ritt, Suggestion, mvodb WS and family type matching 
> 2) "advanced" c++ code:

> void foo(const std::string& xxx) { ... };
    Reply  28 Nov 2025, Konstantin Olchanski, Suggestion, mvodb WS and family type matching 
> > 2) "advanced" c++ code:
> > 
> > void foo(const std::string& xxx) { ... };
    Reply  28 Nov 2025, Konstantin Olchanski, Suggestion, mvodb WS and family type matching 
Just in time, enter std::string_view.
https://stackoverflow.com/questions/40127965/how-exactly-is-stdstring-view-faster-than-const-stdstring
    Reply  03 Dec 2025, Konstantin Olchanski, Suggestion, Improve process for adding new variables that can be shown in history plots 
> 3b) mlogger used to rescan ODB each time a new run is started, this code was removed

One more kink turned out.
    Reply  04 Dec 2025, Stefan Ritt, Suggestion, Improve process for adding new variables that can be shown in history plots 
> Now, mlogger just silently continues not writing to history. There is no ongoing error message, there is no 
> ongoing alarm, only sign of trouble is empty history plots and history files not growing.
    Reply  07 Dec 2025, Konstantin Olchanski, Suggestion, Get manalyzer to configure midas::odb when running offline 
>  #include "manalyzer.h"
>  #include "midasio.h"
> +#include "odbxx.h"
    Reply  08 Dec 2025, Konstantin Olchanski, Suggestion, Get manalyzer to configure midas::odb when running offline 
> >  #include "manalyzer.h"
> >  #include "midasio.h"
> > +#include "odbxx.h"
    Reply  08 Dec 2025, Konstantin Olchanski, Suggestion, manalyzer root output file with custom filename including run number 
I updated the root helper constructor to give the user more control over ROOT output file names.

You can now change it to anything you want in the module run constructor, see manalyzer_example_esoteric.cxx
Entry  16 Apr 2026, Konstantin Olchanski, Suggestion, mhttpd user permissions 
We had our periodic discussion on MIDAS web page user permissions. (I cannot 
find the link to the previous discussions, ouch!)
Entry  06 May 2026, Jonas A. Krieger, Suggestion, numpy version compatibility 
There seems to be a version dependency with the numpy.bool , e.g. used here
https://bitbucket.org/tmidas/midas/src/c6ef4aff5e7e652df79160141e570bed5f4d6a3b/python/midas/sequencer.py?at=develop#sequencer.py-1714 .
Entry  01 Jun 2026, Yiwen Yang, Suggestion, Multithreaded deferred transitions 
Hi,

On the DAQ system for T2K's ND280 near detector, we use deferred
    Reply  11 Jun 2026, Stefan Ritt, Suggestion, Multithreaded deferred transitions 
Multithreaded transitions were introduced by KO in 2019. Please ask him to make deferred transitions work 
again or simply use non-multithreaded transitions. 
    Reply  25 Jun 2026, Konstantin Olchanski, Suggestion, Multithreaded deferred transitions 
> Multithreaded transitions were introduced by KO in 2019. Please ask him to make deferred transitions work 
> again or simply use non-multithreaded transitions. 
    Reply  25 Jun 2026, Yiwen Yang, Suggestion, Multithreaded deferred transitions 
> I recommend against using them. Maybe you can explain what you do and I can suggest a way
> to avoid using the
deferred transition.
Entry  06 Jul 2026, Joel Sander, Suggestion, mlogger MySQL improved connection 
We recently had an instance where mlogger lost its connection to the database resulting in 317 write errors on mysql_insert and (Good) did report connection
errors to the Midas log but (Bad) didn't attempt to restore the connection. With some help from Gemini, I've drafted a potential solution to reheal.
Our copy uses mysql_query_debug line 1903 in our copy that inserts rows, creates tables, etc:
Entry  07 Jul 2026, Marius Koeppel, Suggestion, Multithreaded PySequencer  
Dear all,

I was wondering if one can use multiple pysequencers at the same time and if not
    Reply  08 Jul 2026, Konstantin Olchanski, Suggestion, mlogger MySQL improved connection 
you can also copy the reconnect code from history_schema.cxx.

if I remember right, the test case for correct reconnect is to start the mlogger, 
    Reply  08 Jul 2026, Konstantin Olchanski, Suggestion, Multithreaded PySequencer  
> I was wondering if one can use multiple pysequencers at the same time and if not
> if this feature is planned in the future? Our experiment (mu3e) has one frontend
> per detector and each sequencer would only access a subset of ODB entries.
    Reply  08 Jul 2026, Konstantin Olchanski, Suggestion, Multithreaded deferred transitions 
> Deferred transition is registered by the FPN00

FPN00, yes, this rings a bell.
ELOG V3.1.6-083448f7