May, 2002 EPICS Collaboration ESD Controls My Week in Berlin Ron Chestnut.

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)
Serial Support for Diamond A review of EPICS serial interface options Pete Owens Daresbury Laboratory.
SNS Integrated Control System SNS RDB Requirements, wish list, status A little history l Oracle RDB used exclusively by accelerator physics group l JERI.
Operating-System Structures
Software Frame Simulator (SFS) Technion CS Computer Communications Lab (236340) in cooperation with ECI telecom Uri Ferri & Ynon Cohen January 2007.
Controls Group May 22-24, 2002 EPICS Collaboration Jefferson Lab Electronic Logbook Theo Larrieu Theo Mcguckin Michelle Joyce.
EPICS at APS Beamlines Tim Mooney Advanced Photon Source Argonne National Laboratory.
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
EPICS Meeting 2005ORNL Rdb systems at SNS Jeff Patton and cast April 27-29, 2005 EPICS Meeting 2005.
PC Applications Course LabVIEW: Laboratory Virtual Instrument Engineering Workbench Graphical Programming Easy to use Faster Development Time.
Pete Owens MICE Controls & Monitoring Workshop 25th September 2006 MICE Control and Monitoring: General Architecture Subsystem Integration User Interface.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
A Guide to Oracle9i1 Creating an Integrated Database Application Chapter 8.
Abeans Application Framework and Widgets Running with EPICS EPICS Workshop, Berlin, May 2002 M.Plesko on behalf of KGB Team J. Stefan Institute and Cosylab.
Cambodia-India Entrepreneurship Development Centre - : :.... :-:-
DØ Channel Archiver Tutorial V.Sirotenko, 4/4/2001.
Linux Operations and Administration
John Sinclair Oak Ridge National Laboratory
8/21/2015J-PARC1 Data Management Machine / Application State Data.
 2000 Deitel & Associates, Inc. All rights reserved. Chapter 24 – Web Servers (PWS, IIS, Apache, Jigsaw) Outline 24.1Introduction 24.2Microsoft Personal.
M. Taimoor Khan * Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic,
Channel Archiver Introduction 2006
12-CRS-0106 REVISED 8 FEB 2013 EPICS Collaboration Meeting 2013 CSS An integrated development and runtime environment for ITER plant system local controls.
Channel Access Archiver EPICS Meeting May 2002 Berlin Thomas Birke Toolkit Structure Toolkit Components I/O Library ArchiveEngineArchiveManager ArchiveExport.
Jan Hatje, DESY CSS ITER March 2009: Alarm System, Authorization, Remote Management XFEL The European X-Ray Laser Project X-Ray Free-Electron.
History Server & API Christopher Larrieu Jefferson Laboratory.
London April 2005 London April 2005 Creating Eyeblaster Ads The Rich Media Platform The Rich Media Platform Eyeblaster.
COLD FUSION Deepak Sethi. What is it…. Cold fusion is a complete web application server mainly used for developing e-business applications. It allows.
Chapter 2: Operating-System Structures. 2.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 2: Operating-System Structures Operating.
Debby Quock November 13, 2012 IRMIS at CLS. IRMIS Currently at CLS PV Crawler –Perl modules that parse EPICS IOC st.cmd, db, and dbd files. Information.
IRMIS 2 Overview Andrew Johnson Computer Scientist, AES Controls.
National Center for Supercomputing Applications NCSA OPIE Presentation November 2000.
Dec 8-10, 2004EPICS Collaboration Meeting – Tokai, Japan MicroIOC: A Simple Robust Platform for Integrating Devices Mark Pleško
LCLS Undulator Positioning Control System Shifu Xu, Joseph Xu, Josh Stein Control Group, AES/APS, ANL June 15, 2006.
Guide to Linux Installation and Administration, 2e1 Chapter 10 Managing System Resources.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
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.
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.
March 2008EPICS Meeting in Shanghai1 KEKB Control System Status Mar Tatsuro NAKAMURA KEKB Control Group, KEK.
Spring 2003 EPICS Collaboration Controls Group CZAR 2.0 (in development) Christopher A. Larrieu Chris Slominski.
EPICS at APS Beamlines Tim Mooney Advanced Photon Source Argonne National Laboratory.
Managed by UT-Battelle for the Department of Energy CSS Update Matthias Clausen, Helge Rickens, Jan Hatje and DESY Delphy Armstrong, Xihui Chen,
A XML 1 An XML Driven Graphical User Interface and Application Management Toolkit Matthias Clausen (DESY & SLAC) Piotr Bartkiewicz (DESY & FPNT/AGH) Alexei.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2012, January 9-12 at NSRRC, Taiwan Control System Studio Training.
David Lawrence 7/8/091Intro. to PHP -- David Lawrence.
RDB for Controls Configuration Management: Complications Roland Müller Based on/ Update of previous Presentations given by B. Franksen: EPICS Meeting `01,
Reading Flash. Training target: Read the following reading materials and use the reading skills mentioned in the passages above. You may also choose some.
18th June 2003 Diamond Vacuum System Steve Singleton 18th June 2003.
Web Design and Development. World Wide Web  World Wide Web (WWW or W3), collection of globally distributed text and multimedia documents and files 
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
Chapter 5 Introduction To Form Builder. Lesson A Objectives  Display Forms Builder forms in a Web browser  Use a data block form to view, insert, update,
Source Controller software Ianos Schmidt The University of Iowa.
Differences Training BAAN IVc-BaanERP 5.0c: Application Administration, Customization and Exchange BaanERP 5.0c Tools / Exchange.
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.
Jan Hatje, DESY CSS – Control System Studio EPICS collaboration meeting CSS – Control System Studio Update EPICS collaboration meeting 2008 Shanghai.
Status & development of the software for CALICE-DAQ Tao Wu On behalf of UK Collaboration.
Matthias Clausen, Jan Hatje, DESY CSS Overview – Alarm System and Management CSS Overview - GSI, 11 Februrary CSS Overview Alarm System and CSS.
1 1999/Ph 514: Supported Hardware EPICS Supported Hardware Ned D. Arnold APS.
FlowLevel Client, server & elements monitoring and controlling system Message Include End Dial Start.
EPICS and LabVIEW Tony Vento, National Instruments
Channel Archiver Overview Jan Channel Archiver Channel Access client Stores samples in disk files Design target: handle values/sec Documentation,
This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC , the State of Michigan.
BOY, A Modern Graphical Operator Interface Editor and Runtime Xihui Chen, Kay Kasemir RAD Control Group.
SNS Integrated Control System ORACLE –JERI DB Generation April 27, 2004 Coles Sibley Jeff Patton.
CMS High Level Trigger Configuration Management
Chapter 2: System Structures
Control System Studio (CSS)
Presentation transcript:

May, 2002 EPICS Collaboration ESD Controls My Week in Berlin Ron Chestnut

ESD Controls May, 2002 EPICS Collaboration Outline  Channel Archiver  EDM  E-Log  Serial Support  CALCString record  RDB Support  A-beans  JOIMINT

ESD Controls May, 2002 EPICS Collaboration JLAB CZAR System Overview Database (MySQL) DAQ EngineHistory Server Manager GUI Filesystem XARR StripTool DARTH CORBA Embedded SQL JDBC

ESD Controls May, 2002 EPICS Collaboration CZAR Data Store  Engine  streams raw data to disk  Converter  runs periodically, or on-demand  “cooks” raw data (convert, compress, index)  Database  connection history  data directory  file status

ESD Controls May, 2002 EPICS Collaboration CZAR History Server Remote API  Supplies archive accessor objects to clients  Client initializes range in archive accessor  data summary first, last point before, after point num points  range accessor object provides data pull interface serves sequences of data in large chunks timestamp, value, status, severity, control info

ESD Controls May, 2002 EPICS Collaboration CZAR Status  Engine up since January 2002  ~ 21,000 signals  ~ 2Gb / day raw; ~ 600Mb processed  < 20% CPU (HP B2000, 1GB RAM)  XARR  retrieve 100,000 points: ~ 3 sec.  Management GUI % done  Port to Solaris, Oracle: June

ESD Controls May, 2002 EPICS Collaboration Channel Archiver Overview LibIO (C++) LibIO (C++) ArchiveEngine Archive Config casi (swig) Tcl Perl Python xarr StripTool WinBrowser ArchiveExport CGIExport ArchiveManager CA CAManager Online Access to Excel/GNUplot… Graphic Retrieval extract, merge, delete some examples provided

ESD Controls May, 2002 EPICS Collaboration JLAB CZAR System Overview Database (MySQL) DAQ EngineHistory Server Manager GUI Filesystem XARR StripTool DARTH CORBA Embedded SQL JDBC

ESD Controls May, 2002 EPICS Collaboration (non) Decisions  Chris to continue ; Steve Hunte will test July target  Thomas and LeeAnn/Bob to continue July target  Comparison of engine capabilities needed  Channel Archiver should not require Oracle or CORBA, or CORBA should be supplied too  Look again at performance at next meeting

ESD Controls May, 2002 EPICS Collaboration EDM Status  New Features  Select colors from palette or by function  Blinking colors for all display depths  Select color schemes by menu  EDMDATAFILES is now a colon separated list  Various new edit mode operations  New drag & drop behavior (Thomas Birke)  Online help

ESD Controls May, 2002 EPICS Collaboration EDM Status  New widgets  text entry (Kay Kasemir)  text update (Kay Kasemir)  strip chart (Kay Kasemir)  text update with reg expr (Pam Gurd)  static text with reg expr (Pam Gurd)  Byte (Carl Lionberger)  X-Y Graph  Motif slider  Radio Box  Up/Down button

ESD Controls May, 2002 EPICS Collaboration Widgets

ESD Controls May, 2002 EPICS Collaboration X-Y Plot Widget

ESD Controls May, 2002 EPICS Collaboration Future  Complete documentation  User  Widget developer  Runtime shutdown/restart  Modify all widgets to utilize pv factory  Implement remaining undo operations  New file format (xml?)  Enhance compatibility with medm  Increment local PV class  New scheme for printing displays

ESD Controls May, 2002 EPICS Collaboration History  First instituted at the lab in  Variously used  Official Record for DOE  Knowledge repository  Bulletin board to pass info among shifts  Heavily Used  ~35,000 entries/year in main ops logbook  400 MB/year in main ops logbook  Other logbooks for Software, FEL, etc.

ESD Controls May, 2002 EPICS Collaboration Shortcomings  Reliance on static html files – 100,000’s  Sheer number a headache to manage  The html mingling of content and formatting makes data searching and extraction difficult  Every program (60+ of them) responsible for number assignment, content formatting, not clobbering other entries. Little consistency.

ESD Controls May, 2002 EPICS Collaboration Components of an Entry  Required  Keywords/Title, Timestamps (create, commit), Logbook(s), Entry-type  Optional  Attachment(s) (screenshots, documents, etc.)  Downtime information  References to other logs (backward/forward)  Problem-Tracking History

ESD Controls May, 2002 EPICS Collaboration New Version  Summer  Addresses shortcomings  RDMS replaces files.  Dynamic Scripting replaces static HTML  APIs shield apps from entry-making details  New Features  Integrated problem tracking  Threaded/linked entries

ESD Controls May, 2002 EPICS Collaboration Underpinnings  Relational Database (Oracle)  Web Application Server (Apache + PHP)  Libraries for programs that make entries  Tcl Package  Perl Module  C++ Library  HTTP API

ESD Controls May, 2002 EPICS Collaboration New logbook “home page”

ESD Controls May, 2002 EPICS Collaboration Alternative Look

ESD Controls May, 2002 EPICS Collaboration New trouble report entry

ESD Controls May, 2002 EPICS Collaboration Browser is not only interface

ESD Controls May, 2002 EPICS Collaboration Logbook Comparison Old LogbookNew Logbook Files (one per record)RDBMS (Oracle) Separate downtime & problem tracking Integrated downtime & problem tracking Unauthenticated entriesAuthenticated entries Web browser only interface Accessible from scripts, browsers,spreadsheets.

ESD Controls May, 2002 EPICS Collaboration Future Direction  Enhance Problem-Tracking  Track problems with specific hardware in addition to general hardware types.  Integrate with future Plant Engineering Work Order system  Enhance Query/Search Tools  Oracle Intermedia to search attachments such as PDF, Word documents.

ESD Controls May, 2002 EPICS Collaboration Serial Interfaces Sharp intake of breath!

ESD Controls May, 2002 EPICS Collaboration Vacuum Equipment Test Rack  VME 64x Crate  Processors:  MVME 167 & PPC 604  IP Carriers:  Hytec VICB8002  Greenspring VIPC601  Serial Interface Card:  Greenspring IPOctal - 8 channel IP card

ESD Controls May, 2002 EPICS Collaboration EPICS Devices  devAscii - Allan Honey/Jeff Hill - KECK  Stream Device - Dirk Zimoch - DELTA  MPF - Mohan Ramanathan - APS  ornlSerial - John Sinclair - Oak Ridge  tyGSOctal - Peregrine McGehee - Hawaii

ESD Controls May, 2002 EPICS Collaboration Summary  All software built and worked  minor glitches 68k / PPC  Where existing support exists - use it  For new development we like:  stream device for most cases  ornlSerial for complex protocols/checksums

ESD Controls May, 2002 EPICS Collaboration Basic record/device support  Motors  Scalers  Multichannel analyzer  Multichannel scaler  Serial (RS-232)  GPIB  ADC’s  DAC’s  Encoders  Optical table  String calc, sequence  Complex expressions  Enhanced PID  Scan  Scan parameter  Generic VME

ESD Controls May, 2002 EPICS Collaboration Layered devices, techniques  Optical tables  Slits  Mirrors  Monochromators  Piezo controller  Digital Multimeter  Current preamplifier  Interpolation  N-step measurement  Serial I/O block  GPIB I/O block  Autocollimator  Temperature controller  X-ray microscope  Insertion device  Filter/shutter

ESD Controls May, 2002 EPICS Collaboration String Expressions  Extends CALC record to combine string and numeric expressions  Useful for run-time programming of serial devices  EPICS links are programmable at run time

ESD Controls May, 2002 EPICS Collaboration Serial O/I Block  Combination of string calc to construct output message, serial record to send and/or receive, and string calc to parse reply  Intended for run-time programming  Similar GPIB support

ESD Controls May, 2002 EPICS Collaboration CCD support  CA server on CCD’s native platform  Calls vendor-supplied software  Stores images to local disk (HDF format)  Some simple image analysis  Hosts EPICS PV’s for control

ESD Controls May, 2002 EPICS Collaboration Goal: DB Based Configuration Maintenance Add/Delete Devices in DB Procedures and Scripts propagate Changes to Configuration Files Consistency Guaranteed

ESD Controls May, 2002 EPICS Collaboration Initial BESSY Database System Device Oriented Magnets magnet name device specs family measure Power Supplies Controls node name CAN segment IOCnode specs m:n PS name device specs family I/O params EPICS specs

ESD Controls May, 2002 EPICS Collaboration Worked Sufficiently Well for Creation of RTDB Graphical Editor Text Editor DCT RTDB Template Script Text Editor SubstitutionsRTDB Standard mechanism power supplies, vacuum system, RF PLC-interface, triggers/timings, … DB Many instances (substitutions) of few different types (templates)

ESD Controls May, 2002 EPICS Collaboration New Structural Overview

ESD Controls May, 2002 EPICS Collaboration Abeans (or xal at SNS)  Application framework Applications IOC Hardware Applications Abeans IOC Hardware Hide comm layer Provide application services Provide CS models (device, channel, etc.) RAD, easier maintenance ::

ESD Controls May, 2002 EPICS Collaboration Abeans Features  Hide details of Control System - just one of many:  launch application/applet, remote install  Logging, alarm, and communication error reporting  Resource initialization and destruction, provide defaults  find, choose and connect to selected device  supports different protocol via plugs (e.g. CORBA, EPICS, … )  Same core code is used everywhere  The code is tested very well  Visual composition and normal programming together  choose device type and command through menu!  almost all errors detected by compiler not during operation

ESD Controls May, 2002 EPICS Collaboration Abeans and EPICS ?  MEDM is faster for “expert” panels, TCL is simpler for prototyping, but:  Abeans application development is scalable!  profit from standard Java features GUI layout, file I/O, XML, WebStart, resources, logging,…  Abeans fight Java deficiencies optimize graphic performance and reduce memory usage  Use Abeans for complex applications…  client-side algorithms (machine physics)  display of multiple data (tables, tree, bird-view)  …and when long-term maintenance matters

ESD Controls May, 2002 EPICS Collaboration JoiMint Where to use it?  Create graphics ‘on the fly’ -> JoiMint does not distinguish between runtime and edit mode. All changes (adding/ removing objects; save/ restore displays) is done in the online mode.  Remote access to control system’s data  Diagnostic data from ‚smart devices‘  PLC‘s or power supplies  Get graphic config file from default http port  Quick diagnostic using a PDA version (planned)  An example of a ‘light weight’ application for Global Accelerator Networks

ESD Controls May, 2002 EPICS Collaboration Basic Structure Data Source Connector Databases / Control SystemsApplications Graphic ObjectsAny Java Object Configuration & Commands ? Scan Engine The Core Registry Timer Cfg files Data local thread http client (monitor) http server

ESD Controls May, 2002 EPICS Collaboration XML Is used for:  Configuration Data:  Graphic Object Tab  (Http) Data source definition  Synoptic Displays (i.e. translated dm2k screens)  Data/ Commands  Value Updates  Archived Data  Commands to/ from Applications

ESD Controls May, 2002 EPICS Collaboration Diagnostic Tools: EPICS property table  Activate by MB3 on graphic device  Select: Device -> Device Property  Device Properties ‚known‘ by http (DIXI) server No special knowledge programmed into JoiMint  DIXI server creates JoiMint graphic (as XML file)  Display of graphic and dynamic updates in JoiMint

ESD Controls May, 2002 EPICS Collaboration Class: JoiTextField Object: JoiTextField-1 Registration Register a Graphic text Object Class: JoiTextField Object: JoiTextField-1 Property: Value Property.deviceName EPICS|WLST1D32_temp Registry register object Name Object JoiTextField-1 instance of JoiTextField register devicename /object EPICS|WLST1D32_temp Name Object Method JoiTextField-1 instance of JoiTextField setValue... Send Command „JoiTextField-1“ „setWidth“ „200“ Send Value „ EPICS|WLST1D32_temp“ „actual value“ actual value Graphic Text Object

ESD Controls May, 2002 EPICS Collaboration Future Plans (I) Command Record and Playback  Record all operator commands  Allow command editing  Store commands as XML file  Load command-set from XML file  Replay commands  Implementation of sequencing features:  Loops  If – then – else structures (based on live data from the underlying control system)