1 / 31

Control System Studio Training - Overview

Control System Studio Training - Overview. Kay Kasemir ORNL/SNS kasemirk@ornl.gov 2012, January 9-12 at NSRRC, Taiwan. What is CSS?. To End Users: Integrated control system user interface To Developers: A Collaboration An Architecture A Toolkit

lamontk
Download Presentation

Control System Studio Training - Overview

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Control System Studio Training-Overview Kay Kasemir ORNL/SNS kasemirk@ornl.gov 2012, January 9-12 at NSRRC, Taiwan

  2. What is CSS? • To End Users: • Integrated control systemuser interface • To Developers: • A Collaboration • An Architecture • A Toolkit http://www.wendolene.co.uk/Pictures/Happy.jpg http://www.citytowninfo.com/images/education-articles/how-to-become-a-software-engineer-2.jpg

  3. Original EPICS Operator Interface • primarily for Linux/X11 • Many disjoint tools • Static layout • Inconsistent Look • Online help? • Data exchange: at best copy/paste PV names

  4. CSS includes an alarm system. Operator notices an alarm… Example Work Flow: React to Alarm

  5. Context menu of alarm… (“right click”) Example Work Flow: React to Alarm..

  6. Inspect history of PV, annotate, … Example Work Flow: React to Alarm… 3 2 1

  7. Finally: Data Browser  E-Log After inspecting alarm PV’s history,post commented plotto E-Log!

  8. CSS: A Collaboration • Started 2006 between DESY and SNS • Joined by CLS, APS, BNL, , Diamond, …,KEK/J-PARC? • https:// .net/apps/trac/cs-studio/wiki • Code repository, Wiki, Mailing lists • Growing presence at EPICS meetings • Benefits from Eclipse community: Participants from ~30 countries

  9. CSS: Control System Architecture • Portable environment (Windows, Linux, OS X) • Excellent (free!) development tools • Extensible bundling: Plug-Ins, Extension points, Registry • Rich Client Platform (RCP) for windows, menus, online help, preferences, online update, …

  10. CSS: Software Toolkit • It’s BIG • Repository: ~ 1.500.000 lines of Java Code • Structured • 70 ‘core’ plugins, about 300 total • About 40% of code is comments and formatting • You pick what you need • SNS uses ~300.000 (20%) Perl cloc tool on July 2011 cs-studio3.0 repo and SNS source snapshot, excluding zip files

  11. CSS Plugin Examples • Library Plug-Ins • Control system data types (PV, Sample, …), Life data access, Historic Data Access, Logbook , E-Mail, Authentication, Authorization, … • Extension Points • Life data: Channel Access, Simulated, Local PVs • Historic Data: XML-RPC, RDB, … • Authentication: Kerberos, LDAP, … • Application Plug-Ins • Strip-Chart: Data Browser • OPI: SDS, BOY • Alarms: NAMS, BEAST • Archive: DESY Archive, BEAUTY • Utilities: Probe, Clock , PV Tree , Psychiatrist List of plugins: http://cs-studio.sourceforge.net/plugins.html

  12. Basic CSS Tools Probe • Current value of a PV EPICS PV Tree • Trace PV links Both: • Resize • Drop-downskeep previousentries

  13. Localization CSS Translations • All: (US) English • Most: German • One: Chinese

  14. Data Browser Plot ‘live’ and historic data over time

  15. Data Browser Archive search, Plot Configuration

  16. Tabular or Tree view, voice annunciations, … Alarm System (BEAST) Select by Name, Description Acknowledge Sort by Time,Severity, …

  17. Flexible Layout • Panels can be closed, reopened, repositioned • Multiple Perspectives • Name, Save, Restore • Multiple document instances share same configuration panels

  18. CSS PV Exchange • PV in anyCSS Tool Context Menu  Select other PV Tools • Opens other tool with that PV

  19. PV Fields Viewer Detailed configuration info for a PV @SNS: Info in Oracle, live data from EPICS

  20. PV Fields Viewer: Site-Specific? Fine, but how would I benefit from an SNS-specific tool? It’s “Pluggable”! You can provide the glue code to your EPICS config in RDB, LDAP, text files PV Fields API“get info for PV Name” SNS ImplementationGet info from Oracle Your ImplementationGet info from …

  21. Other “Pluggable” Examples • APIs • Live Data Access • Historic Data Access • Authentication • ... • Implementations • EPICS Channel Access, Simulated • Chan.Arch XML-RPC, RDB, … • Kerberos, LDAP • … API Some Implementation Another Implementation

  22. Integrated Help, Preferences • Uniform access to settings, searchable help • Applications • Support Libraries • Logging • Control System access

  23. BOY – Best OPI, Yet Operator Interface Editor Runtime Similar to EDM, MEDM, SDS, DM2K, but possibly better

  24. SNS Examples • Top-level displays created by operators Tim Southern, Nick Luciano

  25. Two Views of CSS Developer • Understands Toolkit,Architecture, Java, Eclipse • Installs CSS in control room • Offers CSS download for local office users • Extends CSS for local needs End User • Uses CSS http://www.citytowninfo.com/images/education-articles/how-to-become-a-software-engineer-2.jpg http://www.wendolene.co.uk/Pictures/Happy.jpg

  26. Hardest Part: Starting Site-Specific Setup • Decide whichparts of SNSyou need • Web site:Initial download

  27. … Site-Specific Setup • Select.. • Web site • Product:Tools andsettingsfor your usersat your site

  28. … Site-Specific Setup • Select • Web site • Product for your site • Automatedupdates

  29. Need Site-Specific Setup Developer:Select,…automated updates End User: Happy Steep Learning Curve for Developers • … but also many Books, online Tutorials • Invest to learn it, and you’ll like it

  30. So What is CSS? Various control-systemtools combinedintoa consistent product Excellentforend-users! Based onhttp://buzzynews.com/wp-content/uploads/2008/01/steve-jobs-presente-le-mac-book-air-lordinateur-portable-le-plus-fin-du-monde.jpg

  31. Links • CSS • http://cs-studio.sourceforge.net/docbook • http://sourceforge.net/apps/trac/cs-studio • Eclipse • http://www.eclipse.org/

More Related