Greg White, Stanford Linear Accelerator Center, 2007 Operational Tools at the Stanford Linear Accelerator Center Greg White, for many, many, great programmers,

Slides:



Advertisements
Similar presentations
Connecting to Databases. relational databases tables and relations accessed using SQL database -specific functionality –transaction processing commit.
Advertisements

LCLS Control System Overview Mike Zelazny SLAC ICD Software Department Accelerator Directorate.
MATLAB Presented By: Nathalie Tacconi Presented By: Nathalie Tacconi Originally Prepared By: Sheridan Saint-Michel Originally Prepared By: Sheridan Saint-Michel.
Model Server for Physics Applications Paul Chu SLAC National Accelerator Laboratory October 15, 2010.
Patrick Krejcik LCLS April 16-17, 2007 Breakout Session: Controls Controls Commissioning Experience.
Hamid Shoaee High Level Physics 20 April 2006 High Level Physics Applications Update on Plans, New Directions Fairley,
Patrick Krejcik LCLS June 16-18, 2008 High Level Applications Facility Advisory Committee Meeting June 17, 2008 Applications Team.
Diane Fairley High Level October 24-28, 2005 High Level Physics Applications LCLS Week / FAC October 24-28, 2005.
Debbie Rogind & Greg White High Level Applications October High Level Applications.
Henrik Loos High Level 17 June 2008 High Level Physics Applications for LCLS Commissioning Henrik Loos.
Copyright © Stanford Linear Accelerator Center 2002 All rights reserved Copyright © Stanford Linear Accelerator Center 2002 All rights reserved Accelerator.
Diane Fairley High Level October High Level Applications FAC Review October 12, 2006 High Level Applications.
Client/Server Architectures
8/21/2015J-PARC1 Data Management Machine / Application State Data.
Intro To JMeter Christian Desserich Testing a Web-Based Application.
Java Analysis Studio Tony Johnson Stanford Linear Accelerator Center CHEP 97 - April 1997.
JCE A Java-based Commissioning Environment tool Hiroyuki Sako, JAEA Hiroshi Ikeda, Visible Information Center Inc. SAD Workshop.
Channel Archiver Introduction 2006
Capture and Replay Often used for regression test development –Tool used to capture interactions with the system under test. –Inputs must be captured;
This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC Michigan State.
GumTree Feature Overview Tony Lam Data Acquisition Team Bragg Institute eScience Workshop 2006.
ANDROID 응용 프로그래밍 과정 – 목차 - 안드로이드란 - 안드로이드가 만들어지게 된배경 - 안드로이드의 철학 - 안드로이드 환경설정 ( SDK download, eclipse plug-in 설정, 간단한 프로그램 실행 ) - 안드로이드 동작원리 - 안드로이드 핵심.
HPS Online Software Discussion Jeremy McCormick, SLAC Status and Plans.
PPPL Spring/Summer CO-OP 2006 Stephen Krenzel. Focus of the CO-OP The co-op focused on improving ElVis, an application for the visualization and monitoring.
1 BROOKHAVEN SCIENCE ASSOCIATES NSLSII Physics Applications – Applying V4 The Control Group – presented by Bob Dalesio Taiwan EPICS Meeting, June 2011.
1 AJAX and Dapper: The Good, the Bad, and the Ugly Joe Sirott PMEL/NOAA.
BROOKHAVEN SCIENCE ASSOCIATES High level applications and EPICS control GUOBAO SHEN NSLS-II, Control Group May 4 th, 2009.
DTS Conversion to SSIS Conversion Best Practices Mike Davis
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Jan Control System Studio, CSS Overview.
ATF Control System and Interface to sub-systems Nobuhiro Terunuma, KEK 21/Nov/2007.
K. Luchini LCLS Controls, July 1, 2005 SLAC Aware IOC EPICS Magnet Functional Requirements Introduction Magnet Functions.
Henrik Loos LCLS 6 February 2009 SLAC National Accelerator Laboratory High Level Physics Applications for LCLS Commissioning.
GO-ESSP Workshop, LLNL, Livermore, CA, Jun 19-21, 2006, Center for ATmosphere sciences and Earthquake Researches Construction of e-science Environment.
CSS – Control System Studio
ESD Support for UNIX Applications Yet another common direction.
Matthias Clausen, DESY CSS GSI Feb. 2009: Synoptic Display Studio and ArchiveBrowser XFEL The European X-Ray Laser Project X-Ray Free-Electron.
Michael Borland Advanced Photon Source Using SDDS for Accelerator Commissioning and Operation Michael Borland Operations Analysis Group Advanced Photon.
Writing a Channel Access Client in EPICS Bob Dalesio, April 5, 2000.
1 BROOKHAVEN SCIENCE ASSOCIATES Control System Overview Bob Dalesio, Control Group HLA Review for NSLS-II Project April
Greg White, Stanford Linear Accelerator Center, 2007 Operational Tools at the Stanford Linear Accelerator Center Greg White, for many, many, great programmers,
EPICS EPICS Limitations Bob Dalesio Marty Kraimer.
Paul Chu SLAC App. 10/14/ SLAC (LCLS) Application Plans P. Chu for SLAC High-Level Application Team.
A XML 1 An XML Driven Graphical User Interface and Application Management Toolkit Matthias Clausen (DESY & SLAC) Piotr Bartkiewicz (DESY & FPNT/AGH) Alexei.
1 BROOKHAVEN SCIENCE ASSOCIATES EPICS Version 4 – Development Plan V4 Team – presented by Bob Dalesio EPICS Meeting October 12, 2010.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS April 2013 Control System Studio, CSS Overview.
The recent history and current state of the linac control system Tom Himel Dec 1,
1 BROOKHAVEN SCIENCE ASSOCIATES High Level Applications Infrastructure and Current Status Guobao Shen, Lingyun Yang* Controls Group & Accelerator Physics.
Jan Hatje, DESY CSS – Control System Studio EPICS collaboration meeting CSS – Control System Studio Update EPICS collaboration meeting 2008 Shanghai.
Cscape EnvisionFX Horner APG, LLC March 7, EnvisionFX - What Does it Do? Graphical interface allows easy transfers of data to and from the PC and.
Paul Chu XAL for 10/14/ XAL for SLAC/LCLS Paul Chu.
B. Dalesio, N. Arnold, M. Kraimer, E. Norum, A. Johnson EPICS Collaboration Meeting December 8-10, 2004 Roadmap for IOC.
Stanford Linear Accelerator Center Michael Zelazny EPICS Collaboration Meeting Dec 3&4, Channel Watcher Bumpless Reboot Replacement Related Web Page:
Debbie Rogind LCLS Magnet June 15, 2006 LCLS Magnet Control Challenging Design Issues “How to integrate the legacy system.
Debbie Rogind Diane Fairley SLC-Aware BSAC Facility Requirements Review May 26, 2005 SLC Aware IOC BSAC* Facility Requirements Review *Beam Synchronous.
Stanford Linear Accelerator Center Ron Chestnut EPICS Collaboration Mtg June 18-20, SLAC Tune Tracker/Feedback Mike Laznovsky.
Debbie Rogind LCLS Magnet June 15, 2006 LCLS Magnet Control Challenging Design Issues Subsystem architecture, or… “How.
Introduction to Control System Studio (CSS) Kay Kasemir, Kunal Shroff EPICS Fall Collaboration Meeting, October 2011 PSI.
LCLS Commissioning & Operations High Level Software
Using Access and the Web
Course Name: QTP Trainer: Laxmi Duration: 25 Hrs Session: Daily 1 Hr.
LCLS Commissioning & Operations High Level Software
EPICS Version 4 Abstract:
Aida; Accelerator Integrated Data Access
High Level Physics Applications for LCLS Commissioning
EPICS ArchiveViewer Project
Linac Diagnostics Commissioning Experience
Nominal Technologies for Modelling and High Level Applications of LCLS
High Level Physics Applications Lehman Review February 7 - 9, 2006
Presentation transcript:

Greg White, Stanford Linear Accelerator Center, 2007 Operational Tools at the Stanford Linear Accelerator Center Greg White, for many, many, great programmers, scientists and engineers from the SLAC Controls Department, operations and physics groups.

Greg White, Stanford Linear Accelerator Center, 2007 SLAC Tools Technology Timeline

Greg White, Stanford Linear Accelerator Center, 2007 SLAC Tools Technology Timeline

Greg White, Stanford Linear Accelerator Center, 2007 SLAC Tools Technology Timeline

Greg White, Stanford Linear Accelerator Center, 2007 Past 20 years! - The SLAC Control Program “SCP” (pronounced “skip”)

Greg White, Stanford Linear Accelerator Center, 2007 Hierarchy of Applications Dynamically Linked Libraries

Greg White, Stanford Linear Accelerator Center, 2007 Hierarchy of Applications Dynamically Linked Libraries

Greg White, Stanford Linear Accelerator Center, 2007 SCP Application “Integration”

Greg White, Stanford Linear Accelerator Center, 2007 The SCP’s Characteristics Advantages Integrated Applications, tools and science Rocket Fast Seamless User Interface One executable, giving macros

Greg White, Stanford Linear Accelerator Center, 2007 Beamline “z” plots

Greg White, Stanford Linear Accelerator Center, 2007 Save/Restore (aka “configs”)

Greg White, Stanford Linear Accelerator Center, 2007 Beam Position Monitors (BPM)

Greg White, Stanford Linear Accelerator Center, 2007 Reference BPM Orbit

Greg White, Stanford Linear Accelerator Center, 2007 Extant BPM Orbit

Greg White, Stanford Linear Accelerator Center, 2007 Beam Position Difference Orbits

Greg White, Stanford Linear Accelerator Center, 2007 Difference (Actual Orbit minus Reference Orbit)

Greg White, Stanford Linear Accelerator Center, 2007 Modelling

Greg White, Stanford Linear Accelerator Center, 2007 Orbit fitting

Greg White, Stanford Linear Accelerator Center, 2007 Steering (Orbit Correction)

Greg White, Stanford Linear Accelerator Center, 2007 Orbit Correction Correction “methods”: - Robust Chi Sq - Paired correctors to bpms - Micado - SVD - others now seldom used Simultaneous Orbit and Dispersion Correction Transport or closed orbit Optional Boundary conditions (eg constant injector region) If underconstrained, finds soln with smallest corrs Iteratively removes BPMs with poor fit (liars) Handles degenerate system matrix (by SVD) but includes peak amplitude constraints (corrector Bmax) min || Ax - b || 2 subject to x j  x jmax

Greg White, Stanford Linear Accelerator Center, 2007 Multi-knobs

Greg White, Stanford Linear Accelerator Center, 2007 Example MKB file

Greg White, Stanford Linear Accelerator Center, 2007 Bumps

Greg White, Stanford Linear Accelerator Center, 2007 “Button Macros”

Greg White, Stanford Linear Accelerator Center, 2007 “Button Macros”

Greg White, Stanford Linear Accelerator Center, 2007 “Correlation Plots” * Steps any controllable thing, reads any, up to 160, readable values * Beam Synchronous - knows what to do * Total integration - eg step ring frequency, do orbit fit, read fit params * Includes plotting, fitting, optimization (eg implements quad scan)

Greg White, Stanford Linear Accelerator Center, 2007 History/Archive Data Chart Types: stripchart, Overlay, A vs B (interpolated), expressions in A, B and C Linear and Log axes Auto or manual scaling axes

Greg White, Stanford Linear Accelerator Center, 2007 The SCP’s Characteristics Advantages Integrated Applications, tools and science Rocket Fast Seamless User Interface One executable, giving macros Disadvantages Very difficult to upgrade basis technology Single threaded, one thing at a time Impossible to collaborate VMS based

Greg White, Stanford Linear Accelerator Center, 2007 SCP - Matlab - XAL - Eclipse - CA integration Timeline

Greg White, Stanford Linear Accelerator Center, 2007 Transitionary Phase - Present

Greg White, Stanford Linear Accelerator Center, 2007 Beam Profile Image Management in Matlab Thanks to Sergei Chevtsov

Greg White, Stanford Linear Accelerator Center, 2007 Bunch Length Measurement Thanks to Mike Zelazny

Greg White, Stanford Linear Accelerator Center, 2007 Matlab based feedback! Thanks to Diane Fairley

Greg White, Stanford Linear Accelerator Center, 2007 Transitionary Phase - Future (immediate)

Greg White, Stanford Linear Accelerator Center, 2007 Hybrid environment for applications (now in dev.) From “LCLS Apps from 20000ft” (G. White)

Greg White, Stanford Linear Accelerator Center, 2007 SLAC Eclipse Accelerator Lab (SEAL) Modelling

Greg White, Stanford Linear Accelerator Center, 2007 SEAL including Control System Studio (CSS) Thanks P.Chu, K.Kasemir, S.Chevtsov

Greg White, Stanford Linear Accelerator Center, 2007 SEAL Formatted Displays (ready to print, logbook) Thanks S. Chevtsov

Greg White, Stanford Linear Accelerator Center, 2007 Control Data Flow for Scientific Applications

Greg White, Stanford Linear Accelerator Center, 2007 Access to Archive/History Data

Greg White, Stanford Linear Accelerator Center, 2007 Middleware, connecting legacy to modern software George McIntyre, Bob Sass, Bob Hall, Ron MacKenzie, Greg White

Greg White, Stanford Linear Accelerator Center, 2007 Command Line Aida

Greg White, Stanford Linear Accelerator Center, 2007 AidaWeb: Web -> Excel, Scripts (by wget), Web Browser, Web Apps

Greg White, Stanford Linear Accelerator Center, 2007 Aida (pure java API) in matlab History/Archiver access and plot

Greg White, Stanford Linear Accelerator Center, 2007 Matlab java lessons datenum() converts time format data to plotable floats datetick tells current plot() to scribe axis with date/time textual date/time to float conversion is very costly ( soln. use say unix time rather than text ) Put java VM options in Matlab secret file java.opt.

Greg White, Stanford Linear Accelerator Center, 2007 Aida CORBA Performance Double: 1 or 2 ms, sometimes more Nd Vector DaValue: < 10 ms, Median 3 ms, sometimes more. Eg History, BPM, model Linear up to tested 4MBytes

Greg White, Stanford Linear Accelerator Center, 2007 Future XML Performance -> SOAP -> WS -> GRID Performance

Greg White, Stanford Linear Accelerator Center, 2007 Efficient XML Interchange Working Group of W3C Performance of EXI candidates on XAL with lossless compression (no XML Schema) High perf XML processor EXI Processor Binary XML

Greg White, Stanford Linear Accelerator Center, 2007 EXI (Binary XML) on EPICS Archiver XML-RPC data EXI candidates on EPICS Archiver without compression (no XML Schema) > 7 X faster in network and processing time (More efficient float being added)

Greg White, Stanford Linear Accelerator Center, 2007 Sparklines Edward Tufte

Greg White, Stanford Linear Accelerator Center, 2007 What Did we Do Wrong - Bob Dalesio’s Slide Underestimated XAL integration (modelled elements, SMF layer, database integration) Underestimated db persistence Underestimated Eclipse questions –IDE RCP or our own Product –Building in a production environment –Distribution SWT <> Swing : Eclipse <> XAL Matlab pragmatism not accepted by everyone.

Greg White, Stanford Linear Accelerator Center, 2007 Questions - please talk to us! Macros (automatic script recording) over different hosts, OS? X11 only common factor! Headless, production, build of Eclipse? 3D visualization for accelerator physics? Impact/Parmela -> Elegant -> Genesis/Ginger

Greg White, Stanford Linear Accelerator Center, 2007 References Visual Display of Quantitative Information. E. tufte. –cf. Sparklines. msg?msg_id=0001OR&topic_id=1&topic=Ask+E.T. msg?msg_id=0001OR&topic_id=1&topic=Ask+E.T – Aida CORBA Performance Report A Hybrid Numerical Method for Orbit Correction W3C Efficient XML Interchange Working Group

Greg White, Stanford Linear Accelerator Center, 2007 to add cmlog crr plots