Debbie Rogind & Greg White High Level Applications October 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
Debbie Rogind & Greg White High Level Applications October Applications Team Greg White Sergei Chevtsov Paul Chu Diane Fairley Chris Larrieu Debbie Rogind Mike Zelazny
Debbie Rogind & Greg White High Level Applications October Phased Development of LCLS Applications
Debbie Rogind & Greg White High Level Applications October 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 Applications provided by the Legacy system
Debbie Rogind & Greg White High Level Applications October 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
Debbie Rogind & Greg White High Level Applications October 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
Debbie Rogind & Greg White High Level Applications October 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
Debbie Rogind & Greg White High Level Applications October Save/Restore Phase 1 – LCLS SCORE
Debbie Rogind & Greg White High Level Applications October Save/Restore Configurations
Debbie Rogind & Greg White High Level Applications October Save/Restore Phase 1 – APEX
Debbie Rogind & Greg White High Level Applications October Save/Restore – Phase 2 Conceptual Design
Debbie Rogind & Greg White High Level Applications October Image Management Bunch Length Measurement Beam-based Feedback prototypes (separate talk) Infrastructure support for MATLAB applications written by physicists Applications provided in MATLAB
Debbie Rogind & Greg White High Level Applications October MATLAB Bunch Length Measurement
Debbie Rogind & Greg White High Level Applications October MATLAB Image Management
Debbie Rogind & Greg White High Level Applications October 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.
Debbie Rogind & Greg White High Level Applications October Infrastructure for Physicists
Debbie Rogind & Greg White High Level Applications October Modelling New Configs Orbit Apps, Correlation Plots Data Utilities, like history, PV browsing, probe. Applications provided in Java/XAL/Eclipse
Debbie Rogind & Greg White High Level Applications October 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)
Debbie Rogind & Greg White High Level Applications October 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
Debbie Rogind & Greg White High Level Applications October XAL in SEAL XAL plotting package And synoptic display Bringing up probe editor Accelerator/sequence Chooser plug-in Data display selector All but XAL frame GUI classes are available in SEAL. Run online model
Debbie Rogind & Greg White High Level Applications October SEAL - Cmlog Browser
Debbie Rogind & Greg White High Level Applications October SEAL and CSS
Debbie Rogind & Greg White High Level Applications October SEAL- AidaWeb for Model Diagnostics
Debbie Rogind & Greg White High Level Applications October SEAL- AidaWeb - BPM Orbit Data P2BPMHER//BPMS BPMD=38
Debbie Rogind & Greg White High Level Applications October Start to End Simulation
Debbie Rogind & Greg White High Level Applications October 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
Debbie Rogind & Greg White High Level Applications October 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
Debbie Rogind & Greg White High Level Applications October Interface Diagram for 2008
Debbie Rogind & Greg White High Level Applications October 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
Debbie Rogind & Greg White High Level Applications October 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