Presentation is loading. Please wait.

Presentation is loading. Please wait.

Paul Chu XAL for 10/14/2007 1 XAL for SLAC/LCLS Paul Chu.

Similar presentations


Presentation on theme: "Paul Chu XAL for 10/14/2007 1 XAL for SLAC/LCLS Paul Chu."— Presentation transcript:

1 Paul Chu XAL for LCLSpchu@slac.stanford.edu 10/14/2007 1 XAL for SLAC/LCLS Paul Chu

2 XAL for LCLSpchu@slac.stanford.edu 10/14/2007 2 Tasks Database work Preparing a database to store static accelerator information. Querying the DB and creating XAL XML file Jython script + minor manual editing Eclipse BIRT and SLAC DB web interface as check up tools K B conversion XAL work SMF modification for LCLS specific devices Using a “mapping” file for device type -> class, instead of hardwiring Online model modification for LCLS specific devices Cavities with end-focusing Solenoids LCLS CVS setup Our own XAL since August XAL jar files wrapped as an Eclipse plug-in XAL classes are available to other SEAL plug-ins Benchmark comparison between online model and MAD

3 Paul Chu XAL for LCLSpchu@slac.stanford.edu 10/14/2007 3 XAL Work in More Detail Due to tight schedule, hacked into XAL code directly for SMF, online model. Still need to add *Lots* of very LCLS-specific device/PV support, e.g. the “beam synchronous acquisition” PVs. Manually adding RF cavity “gaps” to XAL XML file.

4 Paul Chu XAL for LCLSpchu@slac.stanford.edu 10/14/2007 4 XAL Setup Besides the XAL XML file preparation, XAL setup is relatively easy Following the “How-to” comes with the package Set up a couple environment variables Get source code, build JAR files (optional) Set up JCA (optional) Choose JCA/JNI or JCA/CAJ in Java Preferences (optional) Set up “default” accelerator (optional) Set up “default” database connectivity

5 Paul Chu XAL for LCLSpchu@slac.stanford.edu 10/14/2007 5 XAL Applications for LCLS Only these can be (almost) right out of box Knobs Launcher (Eclipse have its own) Orbit display Scan 1D and 2D SCORE – with right database setup Online model (MPX) XIO + a couple more…

6 Paul Chu XAL for LCLSpchu@slac.stanford.edu 10/14/2007 6 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.

7 Paul Chu XAL for LCLSpchu@slac.stanford.edu 10/14/2007 7 Conclusion Significant amount of work is for database -> XAL XML file setup Experience if not using Eclipse, things get slightly easier XAL GUI frame can be used So far, our difficulty is mainly from Eclipse, not XAL But, we only did in “quick-and-dirty” way


Download ppt "Paul Chu XAL for 10/14/2007 1 XAL for SLAC/LCLS Paul Chu."

Similar presentations


Ads by Google