1 / 7

XAL for SLAC/LCLS

XAL for SLAC/LCLS. Paul Chu. 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

karis
Download Presentation

XAL for SLAC/LCLS

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. XAL for SLAC/LCLS Paul Chu

  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. 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. 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. 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. Bringing up probe editor 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.

  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

More Related