41
Matthias Clausen, DESY CSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser 1 XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser CSS – Control System Studio Synoptic Display Studio (SDS) and Archive Display (Data Browser) CSS – Control System Studio Summary Presentation @ GSI February 11 th 2009 Matthias Clausen, Jan Hatje (DESY / MKS-2) Presented by: Matthias Clausen

Matthias Clausen, DESY CSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser XFEL The European X-Ray Laser Project X-Ray Free-Electron

Embed Size (px)

Citation preview

Page 1: Matthias Clausen, DESY CSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser XFEL The European X-Ray Laser Project X-Ray Free-Electron

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser 1

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

CSS – Control System Studio

Synoptic Display Studio (SDS) andArchive Display (Data Browser)

CSS – Control System StudioSummary Presentation @ GSI February 11th 2009

Matthias Clausen, Jan Hatje (DESY / MKS-2)

Presented by: Matthias Clausen

Page 2: Matthias Clausen, DESY CSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser XFEL The European X-Ray Laser Project X-Ray Free-Electron

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser 2

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Overview

Synoptic Display Studio (SDS)– Overview– Converter

Data Browser– Basic Functionality– Post Analyzer– Waveform Support– Integrating data from Scopes

Page 3: Matthias Clausen, DESY CSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser XFEL The European X-Ray Laser Project X-Ray Free-Electron

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser 3

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Synoptic Display Studio

Synoptic Displays are the key (killer) application for process control systems

The current implementation provides a rich functionality– Any property of any widget can be dynamic– Any value from the control system may be converted by an

individual (Java) script– Any widget or graphic may change dynamically– A local namespace can be configured dynamically (on the fly)

and provides in addition a fixed set of parameters

Let’s see how it works…

Page 4: Matthias Clausen, DESY CSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser XFEL The European X-Ray Laser Project X-Ray Free-Electron

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser 4

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

The CSS Onion Synoptic Display Studio (SDS)

OSGi

SDS

DALEPICS

TINE

Page 5: Matthias Clausen, DESY CSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser XFEL The European X-Ray Laser Project X-Ray Free-Electron

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser 5

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Synoptic Display Studio

• Synoptic Display Studio (SDS) is a set of CSS plugins• SDS is based on GEF• Connection to control system via DAL

– Support for EPICS and TINE ( more to come)

– Full asynchronous support for data updates

• Initializer for widgets (depending on local settings)• CVS support for the management of displays (Eclipse feature)• ADL converter to reuse dm2k Displays• Easy to add new widgets (one week for a Cosylab student)

http://css.desy.de/content/e1576/index_eng.html• Everything can be dynamic

– Properties

– Display call-up (name substitution using alias names)

– Displays in Displays (depending on the actual value of a channel)

Page 6: Matthias Clausen, DESY CSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser XFEL The European X-Ray Laser Project X-Ray Free-Electron

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser 6

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Synoptic Display Studio UI

WorkspaceEditor field

Property View

Widgetpalette

Page 7: Matthias Clausen, DESY CSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser XFEL The European X-Ray Laser Project X-Ray Free-Electron

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser 7

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

SDS Example

Get more Information from the Training Slides

which are available in the CSS/SDS Distribution

Page 8: Matthias Clausen, DESY CSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser XFEL The European X-Ray Laser Project X-Ray Free-Electron

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser 8

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Overview

Page 9: Matthias Clausen, DESY CSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser XFEL The European X-Ray Laser Project X-Ray Free-Electron

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser 9

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Dynamics

Page 10: Matthias Clausen, DESY CSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser XFEL The European X-Ray Laser Project X-Ray Free-Electron

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser 10

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Characteristics

Page 11: Matthias Clausen, DESY CSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser XFEL The European X-Ray Laser Project X-Ray Free-Electron

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser 11

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Alias

Page 12: Matthias Clausen, DESY CSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser XFEL The European X-Ray Laser Project X-Ray Free-Electron

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser 12

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Connection States

Page 13: Matthias Clausen, DESY CSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser XFEL The European X-Ray Laser Project X-Ray Free-Electron

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser 13

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Rules

Page 14: Matthias Clausen, DESY CSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser XFEL The European X-Ray Laser Project X-Ray Free-Electron

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser 14

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Action Data

Page 15: Matthias Clausen, DESY CSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser XFEL The European X-Ray Laser Project X-Ray Free-Electron

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser 15

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Bargraph and Meter

The Initializer is setting the properties according to your needs.

(Or your control system)

Page 16: Matthias Clausen, DESY CSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser XFEL The European X-Ray Laser Project X-Ray Free-Electron

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser 16

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Grouping- and Linking Container

Page 17: Matthias Clausen, DESY CSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser XFEL The European X-Ray Laser Project X-Ray Free-Electron

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser 17

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Sixteen Binary Bar and Thumb Wheel

Page 18: Matthias Clausen, DESY CSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser XFEL The European X-Ray Laser Project X-Ray Free-Electron

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser 18

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Strip Chart and Waveform

Page 19: Matthias Clausen, DESY CSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser XFEL The European X-Ray Laser Project X-Ray Free-Electron

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser 19

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

And there’s more …

Widgets:– Timer– Plyline/ Polygon– Rectangle/ Ellipse/ Arc– Slider– Switch (‘programmed’ symbols)– Image (picture)

Layer management

Page 20: Matthias Clausen, DESY CSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser XFEL The European X-Ray Laser Project X-Ray Free-Electron

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser 20

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

ADL Converter

Page 21: Matthias Clausen, DESY CSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser XFEL The European X-Ray Laser Project X-Ray Free-Electron

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser 21

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

MEDM → SDS

Page 22: Matthias Clausen, DESY CSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser XFEL The European X-Ray Laser Project X-Ray Free-Electron

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser 22

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

SDS Quickstart Menu

Adding Graphic to Menu

New Menu Entry

Changing Menu Entry String

Page 23: Matthias Clausen, DESY CSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser XFEL The European X-Ray Laser Project X-Ray Free-Electron

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser 23

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Online Help @http://krykxmpp.desy.de:8099/help/index.jsp

Page 24: Matthias Clausen, DESY CSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser XFEL The European X-Ray Laser Project X-Ray Free-Electron

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser 24

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Synoptic Display StudioWho is involved?

• Core functionalities specified by DESY• Initial implementation and design: C1-WPS/

University of Hamburg• DAL/ simpleDal adapter: C1-WPS• New widgets and extensions: DESY, students• Initializer: DESY• Adl2Sds converter for dm2k(medm) graphics:

DESY

Page 25: Matthias Clausen, DESY CSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser XFEL The European X-Ray Laser Project X-Ray Free-Electron

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser 25

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Synoptic Display StudioRelevance for GSI Users:

• Most of the existing medm graphics can be converted into SDS graphics ‘out of the box’

• The existing DAL implementation for GSI (DAL-plug) could be converted into a CSS/DAL plugin– This would open the door to use CSS and it’s

applications (SDS) also for other GSI applications

Page 26: Matthias Clausen, DESY CSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser XFEL The European X-Ray Laser Project X-Ray Free-Electron

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser 26

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Synoptic Display StudioFuture Plans:

• Continue to develop new widgets– The meter widget needs attention– A (3D) image widget is necessary for beam line controls

• Improve SDS by taking the feedback from the DESY operators into account– Ease of use

• New project with C1-WPS and HHLA with the focus on using the CSS-SDS tools as a basis for the operator applications in the container terminals (JMS DAL-plug)

• The collaboration with ITER might add new development resources to CSS/SDS

Page 27: Matthias Clausen, DESY CSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser XFEL The European X-Ray Laser Project X-Ray Free-Electron

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser 27

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

The CSS Onion DataBrowser

OSGi

Dat

aB

row

ser

TIN

E

Arc

hive

AP

IA

AP

IS

erve

r

XNDS Cha

nnel

arch

iver

Arc

hive

Rec

ordJM

S

TIN

E

arch

iver

IOC

Page 28: Matthias Clausen, DESY CSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser XFEL The European X-Ray Laser Project X-Ray Free-Electron

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser 28

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Data Browser

Besides synoptic displays and alarm displays the data browser is the third –important- application for process control.

• The Archive API is the glue code to ‘any’ archive data source

• The dataBrowser was designed and implemented by Kay Kasemir (ORNL)

• ORNL and DESY are constantly working on improvements and extensions

Page 29: Matthias Clausen, DESY CSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser XFEL The European X-Ray Laser Project X-Ray Free-Electron

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser 29

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Data Browser in CSS

Page 30: Matthias Clausen, DESY CSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser XFEL The European X-Ray Laser Project X-Ray Free-Electron

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser 30

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Data Browser and Correlation Plot

Page 31: Matthias Clausen, DESY CSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser XFEL The European X-Ray Laser Project X-Ray Free-Electron

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser 31

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Correlation Plot

Page 32: Matthias Clausen, DESY CSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser XFEL The European X-Ray Laser Project X-Ray Free-Electron

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser 32

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Gaussian Plot and FFT

Page 33: Matthias Clausen, DESY CSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser XFEL The European X-Ray Laser Project X-Ray Free-Electron

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser 33

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Scope Data - Settings

Page 34: Matthias Clausen, DESY CSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser XFEL The European X-Ray Laser Project X-Ray Free-Electron

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser 34

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Scope Data - Plot

Page 35: Matthias Clausen, DESY CSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser XFEL The European X-Ray Laser Project X-Ray Free-Electron

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser 35

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Waveform Display

Page 36: Matthias Clausen, DESY CSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser XFEL The European X-Ray Laser Project X-Ray Free-Electron

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser 36

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Namespace-Browser (TINE) and DataBrowser

Page 37: Matthias Clausen, DESY CSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser XFEL The European X-Ray Laser Project X-Ray Free-Electron

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser 37

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

dal-tine://DESY3/MHFHISTORY/keyword/DoKlyDrvPRuk

Data

FFT in Post Analyzer

Page 38: Matthias Clausen, DESY CSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser XFEL The European X-Ray Laser Project X-Ray Free-Electron

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser 38

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Data BrowserWho is involved?

• Archive API specified by DESY and ORNL• Implementation by ORNL (Kay Kasemir)• Post Analyzer added by DESY• Waveform Support modified by DESY

Page 39: Matthias Clausen, DESY CSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser XFEL The European X-Ray Laser Project X-Ray Free-Electron

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser 39

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Data BrowserRelevance for GSI Users:

• The CSS Data Browser can be used for EPICS archived data as well as for other archive sources.

• Access to legacy systems will open the door for smooth transition plans (if any exist).

Page 40: Matthias Clausen, DESY CSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser XFEL The European X-Ray Laser Project X-Ray Free-Electron

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser 40

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Data BrowserFuture Plans:

• Add support for event displays (ORNL and DESY)– Display archived data– Display waveform data– Display alarms– Display message based data

Page 41: Matthias Clausen, DESY CSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser XFEL The European X-Ray Laser Project X-Ray Free-Electron

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser 41

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Synoptic Display and Data Browser

Questions ?