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 |
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.
>
|
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
|
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 |
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
|
26 Nov 2025, Stefan Ritt, Info, switch midas to c++17
|
I switched from
target_compile_features(<target> PUBLIC css_std_17)
|
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
|
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?
|
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),
|
27 Nov 2025, Stefan Ritt, Suggestion, mvodb WS and family type matching
|
> 2) "advanced" c++ code:
>
> void foo(const std::string& xxx) { ... };
|
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.
|
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());
|
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.
|
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.
|
04 Jan 2026, Stefan Ritt, Info, Ad-hoc history plots of slow control equipment
|
After popular demand and during some quite holidays I implemented ad-hoc history plots. To enable this
for a certain equipment, put
|
09 Jan 2026, Stefan Ritt, Forum, MIDAS installation
|
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.
|
13 Jan 2026, Stefan Ritt, Forum, MIDAS installation
|
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:
|
13 Jan 2026, Stefan Ritt, Forum, MIDAS installation
|
I put the documentation under
https://daq00.triumf.ca/MidasWiki/index.php/Install_Script
|
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.
|
20 Jan 2026, Stefan Ritt, Info, New tabbed custom pages
|
Tabbed custom pages have been implemented in MIDAS. Below you see and example. The documentation
is here:
|
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:
|