Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Oct. 2012 EPICS Meeting, PAL, Korea Control System Studio Training.

Slides:



Advertisements
Similar presentations
Managed by UT-Battelle for the Department of Energy Best Ever Archive Utility, Yet (BEAUtY) Kay Kasemir April 2013.
Advertisements

Control System Studio (CSS)
Managed by UT-Battelle for the Department of Energy Xihui Chen, Kay Kasemir ORNL/SNS April 2013 at IHEP Control System Studio Setup - Hierarchical.
ORNL is managed by UT-Battelle for the US Department of Energy Control System Studio: First Steps Kay Kasemir ORNL/SNS June 2014.
Managed by UT-Battelle for the Department of Energy Kay Kasemir, Xihui Chen ORNL/SNS April, 2013 Getting Started with CSS.
Best Ever Alarm System Toolkit Kay Kasemir, Xihui Chen, Katia Danilova SNS/ORNL April, 2013.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS April 2013 Control System Studio Training - Authentication,
How Clients and Servers Work Together. Objectives Learn about the interaction of clients and servers Explore the features and functions of Web servers.
SQL Reporting Services Overview SSRS includes all the development and management pieces necessary to publish end user reports in  HTML  PDF 
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Jan Control System Studio Training - Alarm System Use.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS April 2013 Control System Studio Training - Alarm System Use.
Eclipse is an open source IDE (Integrated Development Environment) for developing applications in Java, C/C++, HTML, Cobol, Perl, etc. The official Eclipse.
Managed by UT-Battelle for the Department of Energy Kay Kasemir, Xihui Chen ORNL/SNS 2012, April at SLAC Eclipse Products, Features, Plugins,
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS April 2013 Control System Studio Training - Workspaces, Shared.
Managed by UT-Battelle for the Department of Energy Best Ever Archive Utility, Yet Creating a BEAST was easy. BEAUtY seems harder. April.
Control System Studio (CSS)‏ Kunal Shroff EPICS Training Meeting 07/10/2010.
Scan System Kay Kasemir, Xihui Chen Jan Managed by UT-Battelle for the U.S. Department of Energy Automated Experiment Control “Scan” should be.
DONE-10: Adminserver Survival Tips Brian Bowman Product Manager, Data Management Group.
12-CRS-0106 REVISED 8 FEB 2013 EPICS Collaboration Meeting 2013 CSS An integrated development and runtime environment for ITER plant system local controls.
ORNL is managed by UT-Battelle for the US Department of Energy Control System Studio: Overview Kay Kasemir, SNS/ORNL June 2014.
From the ChannelArchiver to the Best Ever Archive Utility, Yet July 2009.
Managed by UT-Battelle for the Department of Energy Kay Kasemir, Ph.D. ORNL/SNS July 2011 at Control System Studio - CSS - Overview.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2012, April at SLAC Control System Studio - Introduction.
Managed by UT-Battelle for the Department of Energy Kay Kasemir, Ph.D. ORNL/SNS July 2011 at Control System Studio - CSS - Overview.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Jan Control System Studio Training - Web OPI.
ORNL is managed by UT-Battelle for the US Department of Energy Control System Studio: BOY Kay Kasemir ORNL/SNS A lot of material from.
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. Overview Scale out architecture Servers, services, and topology in Central Administration.
Jan Hatje, DESY CSS ITER March 2009: Technology and Interfaces XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser 1 CSS – Control.
Control System Studio (CSS) Overview Kay Kasemir, July 2009.
The CSS Scan System Kay-Uwe Kasemir SNS/ORNL Dec
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Jan Control System Studio Training - Archive System Setup.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Oct EPICS Meeting, PAL, Korea Control System Studio Training.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Jan Control System Studio, CSS Overview.
XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser Matthias Clausen, DESY XFEL Refrigerator Controls – April CSS Core Applications.
ORNL is managed by UT-Battelle for the US Department of Energy CS-Studio PVTable and Autosave Kay Kasemir Oct
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Oct EPICS Meeting, PAL, Korea Control System Studio Training.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS With slides from Xihui Chen May 2014 Control System Studio Training.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Jan Control System Studio Training - Development Setup.
CSS – Control System Studio
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2011, October at CEA Saclay, France Control System Studio.
Managed by UT-Battelle for the Department of Energy Kay Kasemir, Xihui Chen ORNL/SNS April Control System Studio Training - Development.
Managed by UT-Battelle for the Department of Energy CSS Update Matthias Clausen, Helge Rickens, Jan Hatje and DESY Delphy Armstrong, Xihui Chen,
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2012, January 9-12 at NSRRC, Taiwan Control System Studio Training.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2011, October at CEA Saclay, France Control System Studio.
At the SNS Kay Kasemir, Xiaosong Geng, Dave Purcell ORNL/SNS March 2008.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS April 2013 Control System Studio, CSS Overview.
MySQL and GRID status Gabriele Carcassi 9 September 2002.
Jan Hatje, DESY CSS GSI Feb. 2009: Technology and Interfaces XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser 1 CSS – Control.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS A lot of material from Nadine Utzel, ITER and BOY online help.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2012, January 9-12 at NSRRC, Taiwan Control System Studio Training.
Applications Kay Kasemir ORNL/SNS Using Information and pictures from Matthias Clausen, Jan Hatje, and Helge Rickens (DESY) October 2007.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Jan Control System Studio Training - Extension Points:
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2011, October at CEA Saclay, France Control System Studio.
Channel Archiver Overview Jan Channel Archiver Channel Access client Stores samples in disk files Design target: handle values/sec Documentation,
Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting EPICS Training Client Tools EPICS collaboration meeting 2008.
: Information Retrieval อาจารย์ ธีภากรณ์ นฤมาณนลิณี
CSS Synoptic Display Comments Kay Kasemir, July 2009.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS May 2014 Control System Studio Training - Hierarchical Preferences.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2012, April at SLAC Control System Studio Training - Alarm System.
Implementation and Testing of RDB Channel Archiver with MySQL Richard Ma, DePauw University Supervisor: Richard Farnsworth, Argonne National Laboratory.
Managed by UT-Battelle for the Department of Energy Quest for the Best Ever Alarm System Tool Kay Kasemir Oct
Best Ever Alarm System Toolkit Kay Kasemir, Xihui Chen, Katia Danilova, SNS/ORNL ICALEPCS 2009, Kobe, Japan, Oct 2009.
BOY, A Modern Graphical Operator Interface Editor and Runtime Xihui Chen, Kay Kasemir RAD Control Group.
Introduction to Control System Studio (CSS) Kay Kasemir, Kunal Shroff EPICS Fall Collaboration Meeting, October 2011 PSI.
Managed by UT-Battelle for the Department of Energy Channel Archiver Update Oct Kay Kasemir
Hyrax Configuration.
Images v26Q3.
EPICS Training Client Tools
Current State - and Replacement
Presentation transcript:

Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Oct EPICS Meeting, PAL, Korea Control System Studio Training - Archive System

2Managed by UT-Battelle for the Department of Energy Archive System Interactions  End user –Look at PVs in Data Browser  Administrator,.. –Setup Data Store –Create Configuration –Run Archive Engine(s) See additional slides or guidebook

3Managed by UT-Battelle for the Department of Energy Archive System Overview

4Managed by UT-Battelle for the Department of Energy CSS Data Browser Configuration  Can be done via preference GUI  Better: plugin_customization.ini of CSS product: # Read-only(!) archive access org.csstudio.archive.rdb/url=jdbc:mysql://localhost/archive org.csstudio.archive.rdb/user=report org.csstudio.archive.rdb/password=$report org.csstudio.archive.rdb/schema= # URLs for archive search org.csstudio.trends.databrowser2/urls=jdbc:mysql://localhost/archive # Default data sources for newly added channels # Format: | | org.csstudio.trends.databrowser2/archives=RDB|1|jdbc:mysql://localhost/archive

5Managed by UT-Battelle for the Department of Energy View Archive Data in CSS Data Browser  Open Data Browser Plot  Add PV –If default archive setup lists data source with historic data for the PV, it will be displayed

6Managed by UT-Battelle for the Department of Energy Searching for PVs in Archive  Open Archive Search View –Data Browser Perspective, or Plot’s context menu  Search for channels via pattern  Send to new Data Browser –Via context menu  Send to existing Plot –Via drag & drop

7Managed by UT-Battelle for the Department of Energy That’s it!  Look at data in Data Browser, no matter if “live” or “archived” data Steps to setup and maintain the infrastructure is a different topic, needs more time.

8Managed by UT-Battelle for the Department of Energy

9Managed by UT-Battelle for the Department of Energy Setup Steps  Prepare RDB  Create & Import initial configuration  Run Archive Engine

10Managed by UT-Battelle for the Department of Energy Prepare RDB Plugin org.csstudio.archive.rdb, folder dbd/ : Copy/paste the commands for the following from mysql_schema.txt into a mysql shell: 1.Create “archive” user with password “$archive” 2.Create “report” user with password “$report” 3.Create “archive” data base 4.Create tables, insert some demo data

11Managed by UT-Battelle for the Department of Energy Create & import initial configuration a)Directly manipulate tables in RDB? b)Use ArchiveConfigTool to import XML file Same format as Channel Archiver: Cooling demo:tank 1.0 Import: ArchiveConfigTool –pluginCustomization /path/to/settings.ini \ –import –engine demo –config demo.xml

12Managed by UT-Battelle for the Department of Energy settings.ini Prepare file settings.ini, starting like this: # Archive RDB (Config Tool, Archive Engine) org.csstudio.archive.rdb/url=jdbc:mysql://localhost/archive org.csstudio.archive.rdb/user=archive org.csstudio.archive.rdb/password=$archive org.csstudio.archive.rdb/schema= # Channel Access (Archive Engine) org.csstudio.platform.libs.epics/addr_list= org.csstudio.platform.libs.epics/use_pure_java=true

13Managed by UT-Battelle for the Department of Energy Online Configuration Editor In the process of making the SNS-specific tool useful to other sites…  Add web.archive.war to Tomcat  Add to conf/catalina.properties: web.archive.settings= /path/to/archive.properties  Example archive.properties: # Database server URL rdb_url=jdbc:mysql://localhost/archive # Schema prefix to use. Must include trailing ".". schema= # User for read-only access anonymous_user=reports # Password for read-only access anonymous_password=secret

14Managed by UT-Battelle for the Department of Energy Run Archive Engine Start: ArchiveEngine –pluginCustomization /path/to/settings.ini \ –engine demo Monitor: –Check start time, number of channels –Look at groups, individual channels –Values received and written for each channel Stop:

15Managed by UT-Battelle for the Department of Energy Multiple Archive Engines On each host, need unique port numbers (default: 4812) EngineConfigImport … -port 4813 ArchiveEngine … –port 4813 Web access via  Consistency check: Engine compares its port with the number in the configuration.  RDB configuration for engine also contains host: EngineConfigImport … -host some_host In principle, on could create a tool that automatically starts archive engines on a host based on RDB info. Not implemented.