Back Midas Rome Roody Rootana
  Midas DAQ System, Page 50 of 162  Not logged in ELOG logo
New entries since:Wed Dec 31 16:00:00 1969
    Reply  13 Nov 2025, Stefan Ritt, Bug Report, broken scroll on midas web pages 
I confirm the problem is there (at least under MacOSX Safari) and I will take care of it.

Stefan
    Reply  13 Nov 2025, Stefan Ritt, Suggestion, Python sc_frontend.py Display and History variables 
> We would like to write an sc_frontend in Python instead of C++. All our drivers 
> work correctly, as well as the creation of the database in the ODB, including the 
> creation of Commons, Statistics, Variables, and Settings.
    Reply  14 Nov 2025, Stefan Ritt, Bug Report, broken scroll on midas web pages 
This problem was introduced by ZS in March 2023 with these commits:

https://bitbucket.org/tmidas/midas/commits/25b13f875ff1f7e2f4e987273c81d6356dd2ff53
    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  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  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  12 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
ELOG V3.1.6-083448f7