XAL APPLICATION PROGRAMMING FRAMEWORK

The Spallation Neutron Source (SNS) is using a Java based framework for application program development. The framework, called XAL, is designed to provide an accelerator physics programming interface to the accelerator. Much of the underlying connections to the EPICS control system are hidden from the user. Use of this framework allows writing general-purpose applications that can be applied to various parts of the accelerator. Also the accelerator structure is initiated from a database, so introduction of new beamline devices or signal modifications are immediately available for all XAL applications. An on-line model is included in this framework for quick beam tracking. The overall framework is described, and example applications are shown.