Paul Chu XAL for 10/14/2007 1 XAL for SLAC/LCLS Paul Chu.
-
Upload
hilda-lynch -
Category
Documents
-
view
218 -
download
0
description
Transcript of Paul Chu XAL for 10/14/2007 1 XAL for SLAC/LCLS Paul Chu.
Paul Chu
XAL for LCLS [email protected]
10/14/20072
TasksDatabase work
Preparing a database to store static accelerator information.Querying the DB and creating XAL XML file
Jython script + minor manual editingEclipse BIRT and SLAC DB web interface as check up toolsK <-> B conversion
XAL workSMF modification for LCLS specific devices
Using a “mapping” file for device type -> class, instead of hardwiringOnline model modification for LCLS specific devices
Cavities with end-focusingSolenoids
LCLS CVS setupOur own XAL since August
XAL jar files wrapped as an Eclipse plug-inXAL classes are available to other SEAL plug-ins
Benchmark comparison between online model and MAD
Paul Chu
XAL for LCLS [email protected]
10/14/20073
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.
Paul Chu
XAL for LCLS [email protected]
10/14/20074
XAL Setup
Besides the XAL XML file preparation, XAL setup is relatively easy
Following the “How-to” comes with the packageSet up a couple environment variablesGet 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
Paul Chu
XAL for LCLS [email protected]
10/14/20075
XAL Applications for LCLS
Only these can be (almost) right out of boxKnobsLauncher (Eclipse have its own)Orbit displayScan 1D and 2DSCORE – with right database setupOnline model (MPX)XIO+ a couple more…
Paul Chu
XAL for LCLS [email protected]
10/14/20076
XAL in SEAL
XAL plotting packageAnd synoptic display
Bringing up probe editorAccelerator/sequence
Chooser plug-in Data display selector
All but XAL frame GUI classes are available in SEAL.
Paul Chu
XAL for LCLS [email protected]
10/14/20077
Conclusion
Significant amount of work is for database -> XAL XML file setupExperience
if not using Eclipse, things get slightly easierXAL GUI frame can be used
So far, our difficulty is mainly from Eclipse, not XALBut, we only did in “quick-and-dirty” way