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: 1662     Entry time: 14 Aug 2019     Reply to this: 1673   1688
Author: Stefan Ritt 
Topic: Info 
Subject: New history plot facility 
During my visit at TRIUMF we rewrote the history plotting functionality of midas. Instead of 
static GIF images, we have now interactive JavaScript panels where we can scroll, zoom, 
inspect values and much more (example is attached). 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.

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. In the new 
system, you can drag with the mouse to scroll, use the mouse wheel to zoom in and out the 
time axis, and hover with your mouse over data points to see its value. If you zoom out, 
old data is loaded automatically in the background.

Following items are planned, but not yet implemented:

- Printing of run markers as in the old history

- Delete old data in the buffer to limit memory consumption if the browser window is 
   open for very long (weeks)

- Implement time interval selector (clock icon, select "last day", "last 8 hours" etc.)

- New settings dialog as a floating dialog box. At the moment, the setting page of the 
   old history system is used

- Export / Printing / Sending to ELOG any history plot

- Implement a formula for plotting data, such as "y = 12 * (x-14) +32". This will replace 
   the old "offset" and "factor" and is more flexible. The formula can be passed directly 
   to the JavaScript engine and will be executed on the web page. It should be also 
   possible to combine different channels, like the difference of two history values.

- Determine the number of digits for variable display from the axis limits. Like if a value 
   changes between 520001 and 520002 only, we need more digits than the usual 6.

Many of these things will be implemented in the next weeks. If you have any more idea 
or find some bugs, please report back to me.

Best,
Stefan for the midas team
Attachment 1: Screenshot_2019-08-14_at_8.50.53_.png  103 kB  Uploaded 14 Aug 2019  | Hide | Hide all
Screenshot_2019-08-14_at_8.50.53_.png
ELOG V3.1.4-2e1708b5