180 likes | 358 Views
CSS – Control System Studio Update. EPICS collaboration meeting 2008 Shanghai Institute of Applied Physics (SINAP) , 13th March 2008 Jan Hatje, Matthias Clausen, Helge Rickens DESY / MKS-2. Overview and Current State. Version 1.0.0 of CSS (Core) is now available
E N D
CSS – Control System Studio Update EPICS collaboration meeting2008 Shanghai Institute of Applied Physics (SINAP), 13th March 2008 Jan Hatje, Matthias Clausen, Helge Rickens DESY / MKS-2
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
CSS Design IDE with CSS applications CSS UI CSS Headless CSS appl. CSS appl. CSS appl. CSS appl. UI CSS appl. CSS appl. Eclipse IDE CSS Core UI CSS Core Eclipse RCP UI Eclipse RCP Eclipse Runtime Java Virtual Machine
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
Headless Build II eclipse Headless Build Developer CVS CVS CSS Plugins CSS Plugins Headless Build Configuration log files Developer CheckHB.xml Check Headless Build status mail status mail Detailed description: csstudio.org → Developers Corner → Headless Build
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
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
Alarm System II • 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) • Alarm Table • Shows alarm messages chronologically • Search in alarm history • Alarm Tree • Representation of persistent store • Shows the status of each record
T T ALARM LOG Alarm System III CSS Headless Instance OpenJMS Server Interconnection Server IOC Filter Manager LDAP Server Jms2Ora Filter CSS UI Instance configuration Alarm Tree Alarm, Log displays Action SMS, Mail Alarm archive Alarm Message System configuration • 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.
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
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’
Synoptic Display Studio UI Widget palette Editor field Workspace Property View
SDS CVS support Operator (Using Displays) Developer (Using and editing Displays) CVS CVS Update (periodically) CSS Plugins Display Repository Commit and Update Operator (Using Displays) Developer (Using and editing Displays) • 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
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 Data Access Layer SDS Control system Rule Widget Process variable
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’ Display ‚Overview‘ Show Facility A Show Facility B • Opens a display from workspace • Call new display with parameters Open Display with Alias ‚A‘ Open Display with Alias ‚B‘ • Action type ‘Send Value’ Display ‚Facility $‘ • Writes a value to a process variable Display ‚Facility A‘ Display ‚Facility B‘
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 -