Post on 13-Dec-2015
transcript
Jan Hatje, DESYCSS – Control System Studio 1
EPICS collaboration meeting 2008
CSS – Control System Studio Update
EPICS collaboration meeting 2008Shanghai Institute of Applied Physics (SINAP), 13th March 2008
Jan Hatje, Matthias Clausen, Helge Rickens DESY / MKS-2
Jan Hatje, DESYCSS – Control System Studio 2
EPICS collaboration meeting 2008
Overview and Current State
• Version 1.0.0 of CSS (Core) is now available
• A headless build checks every night all CSS plugins
for errors
• CSS Beta with the most recent features is on the CSS
website
• The Alarm System (from IOC to SMS) is implemented
and tested by the operators
• Reliability of Synoptic Display Studio is improved
Jan Hatje, DESYCSS – Control System Studio 3
EPICS collaboration meeting 2008
CSS Design
Eclipse Runtime
Java Virtual Machine
IDE with CSS applications CSS UI
CSS Core UI
Eclipse RCP UI
Eclipse IDE
CSS Headless
Eclipse RCP
CSS Core
CSS appl.CSS appl.CSS appl.
CSS appl.CSS appl.
UI CSS appl.
Jan Hatje, DESYCSS – Control System Studio 4
EPICS collaboration meeting 2008
Headless Build I
• Errors in CSS plugins are detected automatically
• The headless build process is not used for deployment
yet
• Ant scripts for headless build are predefined in eclipse
• The selection of plugins for the headless build is set in
a CVS project
• A program checks the log files and sends status mails
to the developers
Jan Hatje, DESYCSS – Control System Studio 5
EPICS collaboration meeting 2008
CVS
Headless Build II
CSS Plugins
Developer
Developer
eclipseHeadless Build
log files
CheckHeadless Build
Headless BuildConfiguration
CheckHB.xml
CVS
CSS Plugins
status mail
status mail
Detailed description: csstudio.org → Developers Corner → Headless Build
Jan Hatje, DESYCSS – Control System Studio 6
EPICS collaboration meeting 2008
CSS Beta
• Version with the latest features of CSS plugins
• Not as reliable as the current CSS release
• CSS Beta Update Site has only two features: global plugins and plugins for the DESY environment
• CSS Update Site is possibly not compatible with CSS Beta
• CSS Beta download: csstudio.org → Download → CSS Beta
• Currently there are just a few new features in SDS
Jan Hatje, DESYCSS – Control System Studio 7
EPICS collaboration meeting 2008
Alarm System I
Log Alarms
• IOC Task ‘Log Alarms’ monitors EPICS records for alarm status changes
• Sends alarm messages to the Interconnection Server via UDP
• Handles a set of Interconnection Server connections for fallback
Interconnection Server
• Headless CSS application
• Sends alarm messages to the JMS Server
• Updates the persistent store on the LDAP Server
• Controlled via XMPP commands
Jan Hatje, DESYCSS – Control System Studio 8
EPICS collaboration meeting 2008
Alarm System II
Alarm Tree
• Representation of persistent store
• Shows the status of each record
Alarm Table
• Shows alarm messages chronologically
• Search in alarm history
Alarm Management System
• Distribution of alarm messages to operators via SMS, Mail, Voice
• Group management of alarm message receivers
• Configurable filters for different criteria
• Easily extensible (new filter types, new receiver types)
Jan Hatje, DESYCSS – Control System Studio 9
EPICS collaboration meeting 2008
Alarm System III
OpenJMS Server
ALARM
T
LOG
T
Filter Manager
Filter
IOC
Jms2OraLDAP Server
Alarm archive
CSS UI Instance
Action
SMS, Mail
Alarm Tree Alarm, Log displays
Alarm Message System
configuration
configuration
CSS Headless Instance
Interconnection Server
A test installation of the LDAP- and JMS-Server for external user are now available. For the settings please look on our CSS web site.
Jan Hatje, DESYCSS – Control System Studio 10
EPICS collaboration meeting 2008
Synoptic Display Studio
• Synoptic Display Studio (SDS) is a set of CSS plugins• SDS is based on GEF• Easy to add new widgets• Connection to control system via DAL• Initialiser for widgets • CVS support for the management of displays• ADL converter to reuse MEDM Displays
Jan Hatje, DESYCSS – Control System Studio 11
EPICS collaboration meeting 2008
Synoptic Display Studio
• Align, ruler, snap to geometry, grid, ... functionality• Order of overlapping widgets (‘To front’, ‘One step to
front’, …)• Multiple layers to organize large displays• Aliases for process variables• Edit properties for many widgets • SDS Documentation: Menu ‘Help’ → ’Help Contents’ →
’CSS Applications’
Jan Hatje, DESYCSS – Control System Studio 12
EPICS collaboration meeting 2008
Synoptic Display Studio UI
WorkspaceEditor field
Property View
Widgetpalette
Jan Hatje, DESYCSS – Control System Studio 13
EPICS collaboration meeting 2008
CVS
SDS CVS support
CSS Plugins
Developer(Using and editingDisplays)
CVS
DisplayRepository
Developer(Using and editingDisplays)
Operator(Using Displays)
Operator(Using Displays)
Update
(periodically) Commit and
Update
• CVS repository holds all displays files• Operators get periodically an update that they are using always the current
display versions• No parallel versions of displays (Developers do not work on copies of the
displays)• History of all changes
Jan Hatje, DESYCSS – Control System Studio 14
EPICS collaboration meeting 2008
SDS
SDS Dynamic aspects
Dynamisation of a property means that the property depends on a value of a process variable
• Dynamisation is indicated by a gear wheel• Every widget property can be dynamic• Initialiser sets dynamic aspects for default properties• Rules for control system connections (calculate e. g. a double value to color) • User can add new rules (JavaScript rules in workspace)• Time widget executes rules periodically
Control system
Processvariable
DataAccessLayer Rule
Widget
Jan Hatje, DESYCSS – Control System Studio 15
EPICS collaboration meeting 2008
Display‚Overview‘
SDS Action Data
Actions are related to widgets
• A widget can hold many actions• Actions are inherited (Actions of
display are available in all widgets)
Action type ‘Open as View/Shell’ShowFacility B
ShowFacility A
Display ‚Facility $‘
Display‚Facility A‘
Display‚Facility B‘
Open Displaywith Alias ‚A‘
Open Displaywith Alias ‚B‘
Action type ‘Send Value’
• Opens a display from workspace• Call new display with parameters
• Writes a value to a process variable
Jan Hatje, DESYCSS – Control System Studio 16
EPICS collaboration meeting 2008
SDS Example
Jan Hatje, DESYCSS – Control System Studio 17
EPICS collaboration meeting 2008
Outlook, Further information
• Implementation of strip chart and ‘16 bit’ widget• Default values as parameters for rules• Visualization for Channel Access Security in SDS• Improve documentation for user and developer• Get help information for the active object• EDM converter for SDS• For more information or to download CSS please see the CSS
website: http://css.desy.de
• To get the CSS applications please use the update mechanism: Help → Software Updates → Find and Install → Search for new features
• For questions please contact: matthias.clausen@desy.de, jan.hatje@desy.de
- Thank you -