Back Midas Rome Roody Rootana
  Midas DAQ System, Page 99 of 159  Not logged in ELOG logo
    Reply  01 Oct 2025, Nick Hastings, Forum, struct size mismatch of alarms 
> So I started our DAQ with an updated midas, after ca. 6 months+.

Would be worthwhile mentioning the git commit hash or tag you are using.
    Reply  01 Oct 2025, Nick Hastings, Forum, struct size mismatch of alarms 
Just to be clear, it seems that your "EPICS Frontend" was either not recompiled against the new midas yet or the old binary is being run, but "SC Frontend"
is using the new midas.
    Reply  02 Oct 2025, Stefan Ritt, Forum, struct size mismatch of alarms 
Sorry to intervene there, but the FEs are usually compiled against libmidas.a . Therefore you have to compile midas, usually do a "make install" to update
the libmidas.a/so, then recompile the FEs. You probably forgot the "make install".
    Reply  02 Oct 2025, Frederik Wauters, Forum, struct size mismatch of alarms 
> Sorry to intervene there, but the FEs are usually compiled against libmidas.a . Therefore you have to compile midas, usually do a "make install" to update
the libmidas.a/so, then recompile the FEs. You probably forgot the "make install".
Entry  19 Nov 2025, Stefan Mathis, Forum, Control external process from inside MIDAS 
Dear all,

I want to control (start / stop / monitor its stdout and stderr) an external process (systemd / EPICS IOC shell script) from within MIDAS.
    Reply  19 Nov 2025, Nick Hastings, Forum, Control external process from inside MIDAS 
Hi,

what you describe is exactly how I normally run mhttpd, mlogger, mserver and some other
    Reply  20 Nov 2025, Stefan Mathis, Forum, Control external process from inside MIDAS 
Thanks a lot,

Nick. Regarding the messages: Zaher showed me that it is possible to simply place a custom log file generated by the systemd next to midas.log - then it
    Reply  20 Nov 2025, Nick Hastings, Forum, Control external process from inside MIDAS 
Hi,
 
> Nick. Regarding the messages: Zaher showed me that it is possible to simply place
    Reply  20 Nov 2025, Stefan Mathis, Forum, Control external process from inside MIDAS 
Hi,

unfortunately I don't have a documentation link to the feature, I just know that it works on my machine ;-) The general idea is that you place a custom
    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  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.
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  10 Jan 2026, Marius Koeppel, Forum, MIDAS installation 
Dear Stefan,

That’s a great idea. For a private home automation project using a Raspberry Pi Zero, I used the
    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
Entry  13 Oct 2004, Konstantin Olchanski, Bug Report, db_paste: found string exceeding MAX_STRING_LENGTH 
I am updating TWIST to the latest MIDAS and when I load a saved .odb file, I get
these messages. Their text ought to say where and what strings it does not like.
K.O.
    Reply  13 Oct 2004, Stefan Ritt, Bug Report, db_paste: found string exceeding MAX_STRING_LENGTH 
Can you attach 

/twist/data_onl/current/run17548.odb
Entry  13 Oct 2004, Konstantin Olchanski, Bug Report, silly odbedit "rename Display xxx/yyy" 
odbedit command "rename Display xxx/yyy" creates a key named "xxx/yyy" (yes,
with a slash in the name) and this key cannot be deleted or renamed...
K.O.
    Reply  13 Oct 2004, Stefan Ritt, Bug Report, silly odbedit "rename Display xxx/yyy" 
> odbedit command "rename Display xxx/yyy" creates a key named "xxx/yyy" (yes,
> with a slash in the name) and this key cannot be deleted or renamed...
> K.O.
Entry  13 Oct 2004, Konstantin Olchanski, Bug Report, TWIST upgrade bombed... 
The upgrade of TWIST to the latest midas has bombed- we see mevb and mlogger
crashes during shared memory data buffer accesses. I am looking into it and I
will add information as I figure things out. K.O.
ELOG V3.1.4-2e1708b5