|
Back
Midas
Rome
Roody
Rootana
|
Midas DAQ System |
Not logged in |
|
|
24 Apr 2020, Pintaudi Giorgio, Forum, API to read MIDAS format file
|
24 Apr 2020, Stefan Ritt, Forum, API to read MIDAS format file
|
24 Apr 2020, Pintaudi Giorgio, Forum, API to read MIDAS format file
|
24 Apr 2020, Stefan Ritt, Forum, API to read MIDAS format file
|
25 Apr 2020, Konstantin Olchanski, Forum, API to read MIDAS format file
|
03 May 2020, Pintaudi Giorgio, Forum, API to read MIDAS format file
|
03 May 2020, Konstantin Olchanski, Forum, API to read MIDAS format file
|
04 May 2020, Pintaudi Giorgio, Forum, API to read MIDAS format file
|
03 May 2020, Stefan Ritt, Forum, API to read MIDAS format file
|
26 May 2020, Pintaudi Giorgio, Forum, API to read MIDAS format file
|
|
Message ID: 1882
Entry time: 24 Apr 2020
In reply to: 1880
Reply to this: 1883
|
Author: |
Pintaudi Giorgio |
Topic: |
Forum |
Subject: |
API to read MIDAS format file |
|
|
Stefan Ritt wrote: | 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 |
Dear Stefan,
thank you very much for the quick reply. Sorry if my message was not very clear, actually we are using the "MIDAS" history format and not the "FILE" one. So both mhist and mhdump should be ok (however I have only tested mhist).
Hypothetically which one between the two lends itself the better to being "batched"? I mean to be read and controlled by a program/routine. For example, some programs give the option to have the output formatted in json, etc... |