Presentation is loading. Please wait.

Presentation is loading. Please wait.

Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2012, April at SLAC Control System Studio - Introduction.

Similar presentations


Presentation on theme: "Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2012, April at SLAC Control System Studio - Introduction."— Presentation transcript:

1 Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS kasemirk@ornl.gov 2012, April at SLAC Control System Studio - Introduction

2 2Managed by UT-Battelle for the Department of Energy What is CSS? a)To End Users: –Integrated control system user interface b)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 3Managed by UT-Battelle for the Department of Energy  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 CSS: A Collaboration

4 4Managed by UT-Battelle for the Department of Energy –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, … CSS: Control System Architecture

5 5Managed by UT-Battelle for the Department of Energy 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

6 6Managed by UT-Battelle for the Department of Energy Basic CSS Tools Probe –Current value of a PV EPICS PV Tree –Trace PV links Both: Resize Drop-downs keep previous entries

7 7Managed by UT-Battelle for the Department of Energy Example Work Flow: React to Alarm CSS includes an alarm system. Operator notices an alarm…

8 8Managed by UT-Battelle for the Department of Energy Example Work Flow: React to Alarm.. Context menu of alarm… (“right click”)

9 9Managed by UT-Battelle for the Department of Energy Example Work Flow: React to Alarm… Inspect history of PV, annotate, …

10 10Managed by UT-Battelle for the Department of Energy Finally: Data Browser  E-Log After inspecting alarm PV’s history, post commented plot to E-Log!

11 11Managed by UT-Battelle for the Department of Energy Integrated Help, Preferences  Uniform access to settings, searchable help –Applications –Support Libraries  Logging  Control System access

12 12Managed by UT-Battelle for the Department of Energy PV Fields Viewer Detailed configuration info for a PV @SNS: Info in Oracle, live data from EPICS

13 13Managed by UT-Battelle for the Department of Energy 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 Implementation Get info from Oracle Your Implementation Get info from …

14 14Managed by UT-Battelle for the Department of Energy Other “Pluggable” Examples API Some Implementation Another Implementation  APIs –Live Data Access –Historic Data Access –Authentication –...  Implementations –EPICS Channel Access, Simulated –Chan.Arch XML-RPC, RDB, … –Kerberos, LDAP –…

15 15Managed by UT-Battelle for the Department of Energy 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

16 16Managed by UT-Battelle for the Department of Energy So What is CSS? Based on http://buzzynews.com/wp-content/uploads/2008/01/steve-jobs-presente- le-mac-book-air-lordinateur-portable-le-plus-fin-du-monde.jpg Various control-system tools combined into a consistent product Excellent for end-users!

17 17Managed by UT-Battelle for the Department of Energy Links  CSS –http://cs-studio.sourceforge.net/docbookhttp://cs-studio.sourceforge.net/docbook –http://sourceforge.net/apps/trac/cs-studiohttp://sourceforge.net/apps/trac/cs-studio –http://ics-web.sns.ornl.gov/kasemir/CSS/Training/http://ics-web.sns.ornl.gov/kasemir/CSS/Training/  Eclipse –http://www.eclipse.org/http://www.eclipse.org/


Download ppt "Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2012, April at SLAC Control System Studio - Introduction."

Similar presentations


Ads by Google