Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  04 Jul 2019, Lukas Gerritzen, Info, Limitations of MSL 
    Reply  05 Jul 2019, Konstantin Olchanski, Info, Limitations of MSL 
       Reply  08 Jul 2019, Stefan Ritt, Info, Limitations of MSL 
          Reply  08 Jul 2019, Lukas Gerritzen, Info, Limitations of MSL 
             Reply  08 Jul 2019, Konstantin Olchanski, Info, Limitations of MSL 
                Reply  09 Jul 2019, Stefan Ritt, Info, Limitations of MSL 
          Reply  08 Jul 2019, Konstantin Olchanski, Info, Limitations of MSL 
          Reply  16 Jul 2019, Lukas Gerritzen, Info, Limitations of MSL 
             Reply  30 Jul 2019, Stefan Ritt, Info, Limitations of MSL 
Message ID: 1600     Entry time: 08 Jul 2019     In reply to: 1594
Author: Konstantin Olchanski 
Topic: Info 
Subject: Limitations of MSL 
Hi, Stefan, on second thought, I agree, I do not know of any scripting language implementation (packaged as a library or not) that
can store it's state in a file ("checkpoint the execution") and that can execute it's program "one line at a time", like the midas
sequencer does now. In the most severe case, one invocation of msequencer executes one line of the msl script.

K.O.

> Sure some existing scripting languages can be used, but they fall short of a few important items in larger experiments:
> 
> - they are typically run from a local terminal in the counting house. A remote observer of the experiment has no idea which script is running and at which state it is.
> 
> - if DAQ crashes during a script or is aborted, it has to be restarted from the beginning. If you run a sequence of let's say 100 runs taking 8 hours, and on run #98 something goes wrong, you are screwed if you have to start at run #1 again.
> 
> This are the main reasons why I developed the midas sequencer. Having everything web-based, everybody can watch remotely how far the sequence progressed. If the whole DAQ crashes, the sequence resumes from the crash point, not from the beginning. This is by saving the current state into the ODB. So even if the sequencer itself is stopped and restarted, that still works.
> 
> I agree that the MSL is missing a few calculations, and I was just waiting to get a few specific requests. I will either add new functions such as basic calculations like adding and subtracting variables, or I will create a way to call an external shell like bash to do calculations. I put this high on my todo list.
> 
> Stefan
ELOG V3.1.4-2e1708b5