Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  24 Apr 2020, Pintaudi Giorgio, Forum, API to read MIDAS format file 
    Reply  24 Apr 2020, Stefan Ritt, Forum, API to read MIDAS format file 
       Reply  24 Apr 2020, Pintaudi Giorgio, Forum, API to read MIDAS format file 
          Reply  24 Apr 2020, Stefan Ritt, Forum, API to read MIDAS format file 
    Reply  25 Apr 2020, Konstantin Olchanski, Forum, API to read MIDAS format file 
       Reply  03 May 2020, Pintaudi Giorgio, Forum, API to read MIDAS format file 
          Reply  03 May 2020, Konstantin Olchanski, Forum, API to read MIDAS format file 
             Reply  04 May 2020, Pintaudi Giorgio, Forum, API to read MIDAS format file 
          Reply  03 May 2020, Stefan Ritt, Forum, API to read MIDAS format file ReferenceCardForMac.pdf
             Reply  26 May 2020, Pintaudi Giorgio, Forum, API to read MIDAS format file 
Message ID: 1880     Entry time: 24 Apr 2020     In reply to: 1878     Reply to this: 1881   1882
Author: Stefan Ritt 
Topic: Forum 
Subject: API to read MIDAS format file 
I guess all three options would work. I just tried mhist and it still works with the "FILE" history

mhist -e <equipment name> -v <variable name> -h 10

for dumping a variable for the last 10 hours.

I could not get mhdump to work with current history files, maybe it only works with "MIDAS" history and not "FILE" history (see https://midas.triumf.ca/MidasWiki/index.php/History_System#History_drivers). Maybe Konstantin who wrote mhdump has some idea.

Writing your own parser is certainly possible (even in Python), but of course more work.

Stefan
ELOG V3.1.4-2e1708b5