300 likes | 426 Views
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. Applications Team. Greg White Sergei Chevtsov Paul Chu Diane Fairley Chris Larrieu
E N D
High Level ApplicationsFacility Advisory Committee MeetingOct 30, 2007 • Applications Team • Current State of High Level Applications • Plan for 2008 Commissioning • Infrastructure and Project Management
Applications Team • Greg White • Sergei Chevtsov • Paul Chu • Diane Fairley • Chris Larrieu • Debbie Rogind • Mike Zelazny
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
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
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
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
Applications provided in MATLAB • Image Management • Bunch Length Measurement • Beam-based Feedback prototypes (separate talk) • Infrastructure support for MATLAB applications written by physicists
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.
Applications provided in Java/XAL/Eclipse • Modelling • New Configs • Orbit Apps, Correlation Plots • Data Utilities, like history, PV browsing, probe.
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)
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
Bringing up probe editor Run online model Accelerator/sequence Chooser plug-in Data display selector XAL plotting package And synoptic display XAL in SEAL • All but XAL frame GUI classes are available in SEAL.
SEAL- AidaWeb - BPM Orbit Data P2BPMHER//BPMS BPMD=38
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
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
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
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