Back Midas Rome Roody Rootana
  Midas DAQ System, Page 50 of 159  Not logged in ELOG logo
    Reply  27 Nov 2025, Stefan Ritt, Bug Report, Error(?) in custom page documentation 
Indeed a bug. Fixed in commit

https://bitbucket.org/tmidas/midas/commits/5c1133df073f493d74d1fc4c03fbcfe80a3edae4
    Reply  27 Nov 2025, Stefan Ritt, Suggestion, Improve process for adding new variables that can be shown in history plots 
> I assume that mlogger rescanning ODB is somewhat intensive process; and that's why we don't want rescanning to 
> happen every time the ODB is changed?
    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  03 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  09 Dec 2025, Stefan Ritt, Bug Report, odbxx memory leak with JSON ODB dump 
Thanks for reporting this. It was caused by a

  MJsonNode* node = MJsonNode::Parse(str.c_str());
    Reply  10 Dec 2025, Stefan Ritt, Bug Report, odbxx memory leak with JSON ODB dump 
> BTW, it looks like we are parsing the whole JSON ODB dump (200k+) on every odbxx access. Can you parse it just once?

You are right. I changed the code so that the dump is only parsed once. Please give it a try.
    Reply  11 Dec 2025, Stefan Ritt, Bug Report, odbxx memory leak with JSON ODB dump 
> Confirmed fixed, thanks! There are 2 small changes I made in odbxx.h, please pull.

There was one missing enable_jsroot in manalyzer, please pull yourself.
Entry  04 Jan 2026, Stefan Ritt, Info, Ad-hoc history plots of slow control equipment Screenshot_2026-01-04_at_14.41.55.png
After popular demand and during some quite holidays I implemented ad-hoc history plots. To enable this 
for a certain equipment, put 
Entry  09 Jan 2026, Stefan Ritt, Forum, MIDAS installation midas_setup.sh
Since we have no many RaspberryPi based control systems running at our lab with midas, I want to 
streamline the midas installation, such that a non-expert can install it on these devices. 
    Reply  13 Jan 2026, Stefan Ritt, Forum, MIDAS installation install.sh
Thanks for your feedback. I reworked the installation script, and now also called it "install.sh" since it includes also the git clone. I modeled it after

homebrew a mit (https://brew.sh). This means you can now run the script on a prison linux system with:
    Reply  13 Jan 2026, Stefan Ritt, Forum, MIDAS installation 
I put the documentation under

  https://daq00.triumf.ca/MidasWiki/index.php/Install_Script
    Reply  14 Jan 2026, Stefan Ritt, Bug Report, DEBUG messages not showing and related 
MT_DEBUG messages are there for debugging, not logging. They only go into the SYSMSG buffer and NOT to the log file. If you want anything logged, just use
MT_INFO.
Entry  20 Jan 2026, Stefan Ritt, Info, New tabbed custom pages tabbed_page.png
Tabbed custom pages have been implemented in MIDAS. Below you see and example. The documentation 
is here:
    Reply  23 Jan 2026, Stefan Ritt, Info, Homebrew support for midas 
Hi Mathieu,

thanks for your contribution. Have you looked at the install.sh script I developed last week:
    Reply  26 Jan 2026, Stefan Ritt, Info, Homebrew support for midas 
> Actually, these two approaches are slightly different I guess:
> - the installation script you are linking manages the
> installation and the subsequent steps, but doesn't manage the dependencies: for instance on my machine, it didn't find root and so manalyzer
    Reply  06 Feb 2026, Stefan Ritt, Bug Report, omnibus bugs from running DarkLight Lakeshore-Temperatures_A-20260204-120628-20260205-120628.png
Thanks for the detailed report. Let me reply one-by-one.

> 1) history plots on 12 hrs, 24 hrs tend to hang with "page not responsive". most plots have 16-20 variables, 
    Reply  06 Feb 2026, Stefan Ritt, Bug Report, omnibus bugs from running DarkLight Screenshot_2026-02-06_at_12.44.16.png
> 3) ODB editor clicking on hex number versus decimal number no longer allows editing in hex, Stefan implemented 
> this useful feature and it worked for a while, but now seems broken.
    Reply  06 Feb 2026, Stefan Ritt, Bug Report, omnibus bugs from running DarkLight 
> 4) ODB editor "right click" to "delete" or "rename" key does not work, the right-click menu disappears 
> immediately before I can use it (dl-server-2), click on item (it is now blue), right-click menu disappears 
> before I can use it (daq17). it looks like a timing or race condition.
    Reply  06 Feb 2026, Stefan Ritt, Bug Report, omnibus bugs from running DarkLight 
> 5) ODB editor "create link" link target name is limited to 32 bytes, links cannot be created (dl-server-2), ok 
> on daq17 with current MIDAS.
ELOG V3.1.4-2e1708b5