Back Midas Rome Roody Rootana
  Midas DAQ System, Page 131 of 158  Not logged in ELOG logo
    Reply  25 Nov 2025, Konstantin Olchanski, Info, switch midas to c++17 
> target_compile_features(<target> PUBLIC cxx_std_17)
> which correctly causes a
> c++ -std=gnu++17 ...
    Reply  25 Nov 2025, Konstantin Olchanski, Suggestion, manalyzer root output file with custom filename including run number 
Hi, Jonas, thank you for reminding me about this. I hope to work on manalyzer in the next few weeks and I will review the ROOT output file name scheme.

K.O.
    Reply  25 Nov 2025, Konstantin Olchanski, Suggestion, Improve process for adding new variables that can be shown in history plots 
> One aspect of the MIDAS history plotting I find frustrating is the sequence for adding a new history 
> variable and then plotting them. ...
    Reply  27 Nov 2025, Konstantin Olchanski, Suggestion, mvodb WS and family type matching 
> This is not a bug per se, but I find it a little odd that the MVOdb functions RS, 
> RSA, RSAI, and WSA use std::string as their type, while WS ans WSAI use const 
> char*
    Reply  27 Nov 2025, Konstantin Olchanski, Bug Report, Error(?) in custom page documentation 
the double-decode bug strikes again!

> This commit breaks the sequencer pages...
    Reply  27 Nov 2025, Konstantin Olchanski, 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, Konstantin Olchanski, Info, switch midas to c++17 

>   set(CMAKE_CXX_STANDARD 17)
>   set(CMAKE_CXX_STANDARD_REQUIRED ON)
    Reply  27 Nov 2025, Konstantin Olchanski, Forum, Control external process from inside MIDAS 
> Rather than investing time to re-invent the wheel here, better try to modify your EPICS driver process to 
become a midas process.
    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
Entry  01 Dec 2025, Konstantin Olchanski, Bug Fix, mvodb updated 
I updated mvodb and test_mvodb. MIDAS ODB and JSON ODB now implement all API 
functions. ReadKey, ReadDir and ReadKeyLastWritten were previously missing from 
some implementations.
    Reply  01 Dec 2025, Konstantin Olchanski, Info, MIDAS RPC add support for std::string and std::vector<char> 
> This is moving slowly. I now have RPC caller side support for std::string and 
> std::vector<char>. RPC server side is next. K.O.
Entry  02 Dec 2025, Konstantin Olchanski, Info, cm_expand_env() 
Just to remember, MIDAS has cm_expand_env() to expand environment variables, in 
file paths, etc. It is used in several places in mhttpd, msequencer and mjsonrpc.
Entry  03 Dec 2025, Konstantin Olchanski, Bug Fix, no more breakage in history display when panning 
In the DL experiment (unknown version of midas, likely mid-summer 2025), we see artefacts in the 
history display where pieces of the data seem to be missing, there is gaps in the graphs. reloading the 
page restores correct display confirming that in fact there is no gaps in the data. This made history 
    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  05 Dec 2025, Konstantin Olchanski, Info, MIDAS RPC add support for std::string and std::vector<char> 
> > This is moving slowly. I now have RPC caller side support for std::string and 
> > std::vector<char>. RPC server side is next. K.O.
> The RPC_CXX code is now merged into MIDAS branch feature/rpc_call_cxx.
Entry  05 Dec 2025, Konstantin Olchanski, Bug Fix, update of JRPC and BRPC 
With the merge of RPC_CXX code, MIDAS RPC can now return data of arbitrary large size and I am 
proceeding to update the corresponding mjsonrpc interface.
Entry  05 Dec 2025, Konstantin Olchanski, Info, address and thread sanitizers 
I added cmake support for the thread sanitizer (address sanitizer was already 
there). Use:
    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"
Entry  08 Dec 2025, Konstantin Olchanski, Bug Report, odbxx memory leak with JSON ODB dump 
I was testing odbxx with manalyzer, decided to print an odb value in every event, 
and it worked fine in online mode, but bombed out when running from a data file 
(JSON ODB dump). The following code has a memory leak. No idea if XML ODB dump 
ELOG V3.1.4-2e1708b5