Control System Studio (CSS) Overview Kay Kasemir,

Download Report

Transcript Control System Studio (CSS) Overview Kay Kasemir,

Control System
Studio (CSS)
Overview
Kay Kasemir,
[email protected]
July 2009
Operator’s View of CSS @ SNS
Assume there’s a new alarm…
Select by
Name,
Description
Sort by Time,
Severity, …
2
Managed by UT-Battelle
for the U.S. Department of Energy
Acknowledge
Alarm Table  Data Browser
1.
Context menu: Alarm Duration, Guidance, Displays, …
2.
Select Data Browser for PV in alarm
3.
View history, annotate
3
Managed by UT-Battelle
for the U.S. Department of Energy
Data Browser  Electronic Logbook
After inspecting alarm PV’s
history, post commented plot to
E-Log
4
Managed by UT-Battelle
for the U.S. Department of Energy
CSS: Applications turn into
Eclipse Plug-ins
Plugin A
Java Code,
online help, …
• Java, i.e. runs on Linux, OS X, Windows
• Eclipse Plug-in
Extension Point
– JARs with code, images, HTML, …
– MANIFEST: list dependencies, define what’s exported
Implementation
• Extension Points
– Define and document APIs
– Dynamically locate implementations
• Launcher
– Native to Operating System, loads JVM
– On-demand plugin dependency loading
• Rich Client Platform (RCP)
– Workbench
• Multi-document UI, File browser, Online help, Preferences, …
– Almost everything offers extension points
5
Managed by UT-Battelle
for the U.S. Department of Energy
• Menus, file type associations, views, …
Plugin B
Java Code,
preference settings, …
Support Plug-Ins
• Extension points for accessing
–
–
–
–
Live control system data
Historic (archived) data
Electronic Logbook
Authentication & Authorization details
• Implementations available for
– EPICS
– Channel Archiver, BEAUTY, DESY AAPI, Data Logger, Archive
Record
– SNS E-Log
– LDAP, Kerberous
6
Managed by UT-Battelle
for the U.S. Department of Energy
Small, Generic CSS Tools
• Probe
– Current value of a PV
• EPICS PV Tree
– Trace PV links
• Little things
–
(you can provide translations)
– Resize,
Scrollbars
– Drop-downs
keep previous
entries
7
Managed by UT-Battelle
for the U.S. Department of Energy
Data Browser
Plot ‘live’ and historic data over time
8
Managed by UT-Battelle
for the U.S. Department of Energy
SNS Specific Examples
• PV; Rack Utility
– Detailed configuration info for a PV; location of devices in
racks
– Pluggable provider for info from e.g. site-specific RDB
9
Managed by UT-Battelle
for the U.S. Department of Energy
DESY Examples
Profibus I/O Configurator
10
Managed by UT-Battelle
for the U.S. Department of Energy
SNL Editor
Bundling into “Product”
• Pick applications of interest
– Data Browser? PACE? AMS? …
• Select/add support for your
– Data sources: EPICS? Channel
Archiver?
– Logbook?
– Authentication, Authorization?
• Add custom “welcome” screen
11
Managed by UT-Battelle
for the U.S. Department of Energy
Result is “Integrated”
• Uniform Preference GUI,
searchable online help
– Applications
– Support Libraries
• Logging
• Control System access
• For PVs, other tools that
support PVs appear in
“CSS” context menu
12
Managed by UT-Battelle
for the U.S. Department of Energy
Summary
• CSS = Control System Apps as Eclipse Plugins
• Not all pieces work everywhere or are production-ready
– But some are better than previous EPICS GUI tools
– You pick what you want, or add your own
• Good for end user
– Homogeneous “Product”, common preferences,
online help, data exchange between applications
• More:
– http://ics-web.sns.ornl.gov/css
– http://css.desy.de
– http://www.eclipse.org
13
Managed by UT-Battelle
for the U.S. Department of Energy
Trivial to silly examples
14
Managed by UT-Battelle
for the U.S. Department of Energy