View
220
Download
4
Category
Preview:
Citation preview
Jörg Penning, DESY
PCaPAC 2014
XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser
1
Archive Playback -
Post Mortem Data Analysis
PCaPAC 2014
Christian Mein (Comp. sc., Univ. of Hamburg)
Matthias Clausen, Jörg Penning (DESY / MKS-2)
Jörg Penning, DESY
PCaPAC 2014
XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser
2
Archive Playback - Overview
• The Platform What is CSS?
• Use case What’s that good for?
• Tools Integration in CSS
• Software Architecture UML overview
• Data What is needed?
• Conclusion Current state
• Credits
Jörg Penning, DESY
PCaPAC 2014
XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser
3
Platform
Control System Studio
• Open-Source platform
• Written in Java
• Based on Eclipse
• Developed by a community
Useful for
• Developing process controls
• Operating
• Maintaining the infrastructure
Jörg Penning, DESY
PCaPAC 2014
XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser
4
Use case – Currently missing
Some incident is inspected
• We only see what we
are asking for
• We see the timeline of
events
• But not the structure of
the surroundings
Jörg Penning, DESY
PCaPAC 2014
XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser
5
Use case – Display centric
• The display
shows the
surroundings
• But it is limited to
the current state
• Not suitable post-
mortem
How do we
put this
together?
Jörg Penning, DESY
PCaPAC 2014
XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser
6
Use case – Display centric
Start the display in
so-called
History-Mode
Jörg Penning, DESY
PCaPAC 2014
XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser
7
Use case – Focusing
History Mode propagates Click opens
another display
Jörg Penning, DESY
PCaPAC 2014
XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser
8
Use case – Focusing
Trends and Displays
should be related Structure Timing
Jörg Penning, DESY
PCaPAC 2014
XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser
9
Tools – History Control View
A simple tool allows for navigation
How to
handle fast
motion?
Jörg Penning, DESY
PCaPAC 2014
XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser
10
Tools – Trendplotter
History Mode is available for trends too
Switches mode
• Cursor marks
the currently
selected time
• Time range is
selectable here
Jörg Penning, DESY
PCaPAC 2014
XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser
11
Tools – Interplay
All parts work together …
Sync point in
time
Jörg Penning, DESY
PCaPAC 2014
XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser
12
Architecture – Display in history mode
Display works without changes
SDSContext
ISimpleDALBroker
HistoryDALBroker
LiveDALBroker
Display
1. Selects
implementation
2. Wraps
display
Jörg Penning, DESY
PCaPAC 2014
XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser
13
Architecture – Data provision
SDSContext
HistoryDataService
ISimpleDALBroker
HistoryDALBroker Cache
in RAM
Display
Archive-
DB
Channel
*
1. Registers
channels
3. Sends
updates
2. Retrieves
data
Jörg Penning, DESY
PCaPAC 2014
XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser
14
Architecture – Time control
HistoryDataService
HistoryControlView
Cache
in RAM
Display
Archive-
DB
Channel
*
1. Sets
time range
2. Retrieves
data
This also
works for the
trendplotter
3. Selects
point in time
4. Updates
the channel
Jörg Penning, DESY
PCaPAC 2014
XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser
15
Data – What is needed
Samples
• Timestamp
• Value
• Alarm state / Severity
Metadata
• Display range
• Units
• Connection state
Not useful
without
metadata
Jörg Penning, DESY
PCaPAC 2014
XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser
16
Data – Taken from the archive
Enhancements to the archive
• Alarm state / severity
• Metadata
Why not use the control system for metadata?
• Still available if IOC is down
• Still availabe after rework of facility
Jörg Penning, DESY
PCaPAC 2014
XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser
17
Conclusion – Current state
• Fits nicely into CSS
Seamless integration into GUI / Use model
Makes use of extendable programming model
• Positive feedback on prototype
• Caching in RAM limits time range
• Possibly long initial load time
• Tools do not sync time range in both directions
• Fast motion may omit crucial data
• Only available for SDS / Trendplotter
Jörg Penning, DESY
PCaPAC 2014
XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser
18
Credits – Where does it come from?
Master thesis by
Christian Mein
Student of comp. science
at University of Hamburg
Communication via
joerg.penning@desy.de
Jörg Penning, DESY
PCaPAC 2014
XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser
19
Conclusion
Thanks
for your
attention!
Recommended