Back Midas Rome Roody Rootana
  Midas DAQ System, Page 50 of 161  Not logged in ELOG logo
    Reply  24 Nov 2025, Stefan Ritt, Forum, Control external process from inside MIDAS 
Dear all,

Stefan wants to run an external EPICS driver process as a detached process and somehow "glue" it to midas to control it. Actually a
similar requirement led to the development of MIDAS in the '90s. We had too many configuration files lying around, to many process to control and interact
    Reply  24 Nov 2025, Stefan Ritt, Info, switch midas to c++17 
> > > Following discussions at the MIDAS workshop, we propose to move MIDAS from c++11 to c++17.
> > We shall move forward with this change.
    Reply  24 Nov 2025, Stefan Ritt, Bug Report, Cannot edit values in a subtree containing only a single array of BOOLs using the ODB web interface Screenshot_2025-11-24_at_15.32.12.png
Can you please update to the latest develop versiokn of midas, and clear your browser cache so that the updated JavaScript midas library is loaded. Should
be fixed by now. See attached screen shot where I changed every second value via the ODB editor.

Stefan
    Reply  25 Nov 2025, Stefan Ritt, Bug Fix, ODB update, branch feature/db_delete_key merged into develop 
Thanks for the fixes, which I all approve.

There is still a "follow_links" in midas_c_compat.h line 70 for Python. Probably Ben has to look into that. Also 
    Reply  26 Nov 2025, Stefan Ritt, Info, switch midas to c++17 
I switched from 

  target_compile_features(<target> PUBLIC css_std_17)
    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:
ELOG V3.1.6-083448f7