Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  14 Aug 2019, Stefan Ritt, Info, New history plot facility Screenshot_2019-08-14_at_8.50.53_.png
    Reply  06 Sep 2019, Andreas Suter, Info, New history plot facility label_issue.pngmany_labels.png
       Reply  06 Sep 2019, Stefan Ritt, Info, New history plot facility 
          Reply  06 Sep 2019, Andreas Suter, Info, New history plot facility plot_plus_minus.png
             Reply  07 Sep 2019, Stefan Ritt, Info, New history plot facility Screenshot_2019-09-07_at_13.52.49_.pngSlow-Sine_3-20198107-132905-20198107-135305.png
       Reply  08 Sep 2019, Stefan Ritt, Info, New history plot facility Screenshot_2019-09-08_at_12.29.12_.png
          Reply  10 Sep 2019, Andreas Suter, Info, New history plot facility history_hangs.PNG
             Reply  16 Sep 2019, Konstantin Olchanski, Info, New history plot facility 
                Reply  17 Sep 2019, Andreas Suter, Info, New history plot facility 
                   Reply  17 Sep 2019, Konstantin Olchanski, Info, New history plot facility 
    Reply  16 Sep 2019, Konstantin Olchanski, Info, New history plot facility 
       Reply  16 Sep 2019, Stefan Ritt, Info, New history plot facility 
Message ID: 1688     Entry time: 16 Sep 2019     In reply to: 1662     Reply to this: 1690
Author: Konstantin Olchanski 
Topic: Info 
Subject: New history plot facility 
> During my visit at TRIUMF we rewrote the history plotting functionality of midas.

This is a most amazing achievement. We wanted to do this "for years" and I think we have
benefitted greatly from the delay - tools available for building interactive web graphics
have improved so much so recently.

For example, delivering binary data from mhttpd to javascript (avoiding json encoding and decoding
saves tons of CPU cycles) went from "how do I do this?!?" to "I did it in only 3 hours!".

> We are now in a state where this is still work in progress, but already at this stage it might
> be useful for others to report any feedback.

The old gif-based history plots took a lot of effort and a long time to get where they work well
for most experiments and where we are happy with them.

From the TRIUMF side of things, lots of polishing of the graphics and of the user interface came
through use at our bigger experiments - TWIST (TRIUMF), ALPHA (CERN), T2K/ND280 (Japan).

So, much improvement and polishing of the new graphics is still ahead for us.

> Simply upgrade the the newest develop branch of midas, and you will see two menu items 
> "OldHistory" which is the old system and "History" which is the new system.

I hope to start the new release branch for midas-2019-09 soon. For the release, we will try
to have both the old and the new history graphics to integrate smoothly. The old graphics
still has to work well, as some users may prefer the old graphics and the old user interface.

Also the new system is still incomplete, i.e. there is no trivial way to save a history plot into a file:

> Following items are planned, but not yet implemented:
> - Printing of run markers as in the old history
> - Export / Printing / Sending to ELOG any history plot

K.O.
ELOG V3.1.4-2e1708b5