High Level Applications

advertisement
High Level Applications
Facility Advisory Committee Meeting
Oct 30, 2007
Applications Team
Current State of High Level Applications
Plan for 2008 Commissioning
Infrastructure and Project Management
October 2007
High Level Applications
Debbie Rogind & Greg White
drogind@slac.stanford.edu;
greg@slac.stanford.edu
Applications Team
Greg White
Sergei Chevtsov
Paul Chu
Diane Fairley
Chris Larrieu
Debbie Rogind
Mike Zelazny
October 2007
High Level Applications
Debbie Rogind & Greg White
drogind@slac.stanford.edu;
greg@slac.stanford.edu
Phased Development of LCLS Applications
October 2007
High Level Applications
Debbie Rogind & Greg White
drogind@slac.stanford.edu;
greg@slac.stanford.edu
Applications provided by the Legacy system
The slc-aware IOC allows the legacy system to control and readback all new magnets,
and provides beam synchronous data to High Level Applications in the Legacy system
from:
BPMs, Faraday Cups, Toroids
Still to complete: LLRF phase and amplitude
Highest priority: A new Save/Restore app is needed to handle both existing and new
devices
October 2007
High Level Applications
Debbie Rogind & Greg White
drogind@slac.stanford.edu;
greg@slac.stanford.edu
Save/Restore Requirements - Groups
System and User Groups
System - organized by SLC regions
Injector, 21-BSY, LTU-Dump
User - on the fly
Groups of groups
Configure wildcarded lists of signals & associated readbacks, thresholds, status…
Compare against master RDB
Resolved via user command; upon Save (Create Snapshot)
Group relationships - track overlapping signals
Subsystem/device behaviors
Multi-step restore
Post-restore processing
Conditional save/restore
API
BPM Reference orbits, Multi-device knob,…
Export to File, Print
October 2007
High Level Applications
Debbie Rogind & Greg White
drogind@slac.stanford.edu;
greg@slac.stanford.edu
Save/Restore Requirements - Snapshots
Repositories - Normal, Scratch, Temporary with different retentions
Tags - Current, Gold, last loaded, …
Retrieval via search mechanism – by group, repository, date, title, author, tag, comments
Comparison of multiple snapshots in the same group
Display snapshot by subsystem, area; report disconnected signals
Comparison of live values to stored; readback comparison to assess restore success
Programmable signal threshold for compare color coding
Edit data values prior to restore, then “save as”
Restore
Partial
Multi-step (Activate, Trim)
Conditional, Post-processing
Report restore status; Roll-back option
API
Export to File, Print
Error/cmlog logging, log-book
October 2007
High Level Applications
Debbie Rogind & Greg White
drogind@slac.stanford.edu;
greg@slac.stanford.edu
Save/Restore Phase 1 – SCORE Modifications
XAL SCORE satisfies many requirements
Will service all magnets, LLRF, new timing, all new epics subsystems
Data Provider - add AIDA
Determine SLC/EPICS data source per signal
Implement polling of AIDA devices to get data
Modify AIDA SLC Magnet Data Provider
Processing - add Multi-step restore for magnet subsystem
RDB – add APEX support
Highly capable APEX app -upload spreadsheets to populate groups; duplicate/ integrity signal
checking
GUI
Rearrange/add columns; modify comparisons
Add error/cmlog logging
October 2007
High Level Applications
Debbie Rogind & Greg White
drogind@slac.stanford.edu;
greg@slac.stanford.edu
Save/Restore Phase 1 – LCLS SCORE
October 2007
High Level Applications
Debbie Rogind & Greg White
drogind@slac.stanford.edu;
greg@slac.stanford.edu
Save/Restore
Configurations
October 2007
High Level Applications
Debbie Rogind & Greg White
drogind@slac.stanford.edu;
greg@slac.stanford.edu
Save/Restore Phase 1 – APEX
October 2007
High Level Applications
Debbie Rogind & Greg White
drogind@slac.stanford.edu;
greg@slac.stanford.edu
Save/Restore – Phase 2 Conceptual Design
October 2007
High Level Applications
Debbie Rogind & Greg White
drogind@slac.stanford.edu;
greg@slac.stanford.edu
Applications provided in MATLAB
Image Management
Bunch Length Measurement
Beam-based Feedback prototypes (separate talk)
Infrastructure support for MATLAB applications written by
physicists
October 2007
High Level Applications
Debbie Rogind & Greg White
drogind@slac.stanford.edu;
greg@slac.stanford.edu
MATLAB Bunch Length Measurement
October 2007
High Level Applications
Debbie Rogind & Greg White
drogind@slac.stanford.edu;
greg@slac.stanford.edu
MATLAB Image Management
October 2007
High Level Applications
Debbie Rogind & Greg White
drogind@slac.stanford.edu;
greg@slac.stanford.edu
Infrastructure Support for Physicists
MATLAB Programmer’s
Guide
LabCA gives MATLAB
scripts access to EPICS
PVs
AIDA gives MATLAB access
to SLC Data:
Model,
Archive/history,
Klystron,
Magnet,
Synchronous BPM.
October 2007
High Level Applications
Debbie Rogind & Greg White
drogind@slac.stanford.edu;
greg@slac.stanford.edu
Infrastructure for Physicists
October 2007
High Level Applications
Debbie Rogind & Greg White
drogind@slac.stanford.edu;
greg@slac.stanford.edu
Applications provided in Java/XAL/Eclipse
Modelling
New Configs
Orbit Apps, Correlation Plots
Data Utilities, like history, PV browsing, probe.
October 2007
High Level Applications
Debbie Rogind & Greg White
drogind@slac.stanford.edu;
greg@slac.stanford.edu
Applications for 2008 Commissioning
Save and Restore - (Phase 1 Dec 2007; 2 summer 2008)
XAL Modelling (Dec 2007)
Model generation from device DB
Tracking
GUI
Orbit Display (Dec 2007)
Model Diagnostics (Dec 2007)
Matlab Feedbacks (Dec 2007)
Start-to-end Simulation (Phase 1 Dec 2007; 2 Apr 2008; …)
Cmlog Browser (Dec 2007)
Orbit Fitting (Jan 2008)
Buffered BPM display (Feb 2007)
Orbit Correction (June 2008)
Linac Energy Management (LEM) (summer 2008)
Correlation Plots (Jan 2009)
October 2007
High Level Applications
Debbie Rogind & Greg White
drogind@slac.stanford.edu;
greg@slac.stanford.edu
SLAC Eclipse Accelerator Lab (SEAL)
XAL model generation
Database -> XAL optics file
XAL code separation
XAL online model application
Accelerator optics selector
Online model run control
Orbit data display
Model Diagnostics, AidaWeb
Cmlog Browser
History Browser, PV Table (CSS)
Textual display utility
Screen snapshot utility
October 2007
High Level Applications
Debbie Rogind & Greg White
drogind@slac.stanford.edu;
greg@slac.stanford.edu
XAL in SEAL
All but XAL frame GUI classes are available in SEAL.
Accelerator/sequence
Chooser plug-in
Bringing up probe editor
Run online model
Data display selector
XAL plotting package
And synoptic display
October 2007
High Level Applications
Debbie Rogind & Greg White
drogind@slac.stanford.edu;
greg@slac.stanford.edu
SEAL - Cmlog Browser
October 2007
High Level Applications
Debbie Rogind & Greg White
drogind@slac.stanford.edu;
greg@slac.stanford.edu
SEAL and CSS
October 2007
High Level Applications
Debbie Rogind & Greg White
drogind@slac.stanford.edu;
greg@slac.stanford.edu
SEAL- AidaWeb for Model Diagnostics
October 2007
High Level Applications
Debbie Rogind & Greg White
drogind@slac.stanford.edu;
greg@slac.stanford.edu
SEAL- AidaWeb - BPM Orbit Data
P2BPMHER//BPMS BPMD=38
October 2007
High Level Applications
Debbie Rogind & Greg White
drogind@slac.stanford.edu;
greg@slac.stanford.edu
Start to End Simulation
October 2007
High Level Applications
Debbie Rogind & Greg White
drogind@slac.stanford.edu;
greg@slac.stanford.edu
Standard Technologies
Languages – Java
Frameworks – Eclipse, CSS, SCP
Machine Data Access – JCA/labCa, AIDA/CORBA
Matlab
Relational Database – Oracle, jdbc
Application Server – OC4J
Portal Software – APEX
Version Control – CVS
Modeling tool - XAL
October 2007
High Level Applications
Debbie Rogind & Greg White
drogind@slac.stanford.edu;
greg@slac.stanford.edu
Infrastructure Software
AidaWeb (Nov 2007) – Excel , wget
OC4J app server serving web pages with aida data
Aida Extensions in support of applications
BPM, Save/Restore, Feedbacks, Bunch Length meas.
Development / Deployment environment for
applications (Nov 2007)
Data Plotting
XAL (Swing-based) plotting package in SWT_AWT bridge
Matlab w/ Java Builder
October 2007
High Level Applications
Debbie Rogind & Greg White
drogind@slac.stanford.edu;
greg@slac.stanford.edu
Interface Diagram for 2008
October 2007
High Level Applications
Debbie Rogind & Greg White
drogind@slac.stanford.edu;
greg@slac.stanford.edu
SEAL Infrastructure
SEAL – SLAC Eclipse Accelerator Lab
Deployment methods
Eclipse IDE trim-down and a launch script to
customize the “product”
A “product” built from Eclipse RCP wizard
Workspace management
A “default” workspace for accelerator op
Site-specific preferences saved in workspace
A product with many CSS plug-ins included
October 2007
High Level Applications
Debbie Rogind & Greg White
drogind@slac.stanford.edu;
greg@slac.stanford.edu
Project Management
WBS
Resource Utilization Calendar
Applications Breakdown by developer
Requirements & Design documents for major
subsystems
Daily 9.30am meeting
Monthly plan, weekly breakdown
Control Room Shifts
October 2007
High Level Applications
Debbie Rogind & Greg White
drogind@slac.stanford.edu;
greg@slac.stanford.edu
Download