Software Technology

Paper Title Page
MOPB01 Grid and Component Technologies in Physics Applications 29
 
  • S. Muszala, R. Pundaleeka, N. Wang, S. G. Shasharina
    Tech-X, Boulder, Colorado
 
  Physics experiments and simulations grow in size and complexity. Examples are the existing HEP/NP experiments and upcoming challenges of SNS, LHC, ILC, and ITER. Managing the experimental data is an extremely complex activity. Physics simulations now attempt full modeling of various phenomena and whole experimental devices, such as in fusion integrated and space weather modeling. Recent advances in computer science, such as Grids and Components, address the challenges faced by applications. In science, Globus and Common Component Architecture (CCA) became commonly used tools for these technologies. Globus allows creating a grid–computers trusting each other and a group of users who can then submit jobs and move data. CCA expresses connectivity of the simulations elements in different languages as “components,” objects with in and out “ports.” CCA “frameworks” combine components into simulation and can swap components sharing ports. CCA accommodates high-performance and distributed applications. We will present our work with Globus and CCA in HEP/NP and fusion, share the lessons learned, and evaluate the ease of using these technologies and the value added.  
slides icon Slides  
MOPB02 XAL Status 34
 
  • C. K. Allen, S. M. Cousineau, J. Galambos, J. A. Holmes, A. P. Shishlo, Y. Zhang, A. P. Zhukov, T. A. Pelaia
    ORNL, Oak Ridge, Tennessee
  • P. Chu
    SLAC, Menlo Park, California
 
  XAL is a Java framework for developing accelerator physics applications for the commissioning and operation of the Spallation Neutron Source. It was designed to be extensible and has evolved to support ongoing accelerator operations. In particular, the on-line model and applications have been extended to support the Ring. Core XAL design features eased the extension from Linac to Ring support and in some cases made it transparent. We discuss the recent advances and future directions in XAL and the current efforts to open the project to broader collaboration.  
slides icon Slides  
MOPB03 Control System Studio (CSS) 37
 
  • M. R. Clausen, C. H. Gerke, M. Moeller, H. R. Rickens, J. Hatje
    DESY, Hamburg
 
  Most applications for the control system EPICS are developed for UNIX and X-Windows. They are independent from each other, have a different look and feel, and it is difficult to exchange data. To solve these problems the Control System Studio (CSS) is under development. CSS is a common platform for new control system applications and provides developers with management infrastructure and a centralised connection to external data sources like JDBC-databases, JMS-, LDAP-servers, etc. CSS defines interfaces to avoid dependencies on special implementations. This design makes sure that an application can easily be integrated or exchanged. Another important feature is the accessibility of data through all applications via CSS-data types defined in CSS. The Data Access Layer (DAL) assures the transparent access to any control system protocol. Thus CSS is not only a platform for EPICS but for any control system that implements the DAL. The intension to modularise CSS and run it on any operating system lead to the decision to use the Eclipse RCP based on the OSGi technology. Technically CSS is a set of essential core-plugins and application plugins selected by the user.  
slides icon Slides  
MOPB04 JavaIOC 40
 
  • M. R. Kraimer
    Private Address, Osseo
 
  EPICS is a set of Open Source software tools, libraries, and applications developed collaboratively and used worldwide to create distributed soft real-time control systems for scientific instruments such as particle accelerators, telescopes, and other large scientific experiments. An IOC (Input/Output Controller) is a network node that controls and/or monitors a collection of devices. An IOC contains a memory resident real-time database. The real-time database has a set of "smart" records. Each record is an instance on a record of a particular type. JavaIOC is a JAVA implementation of an EPICS IOC. It has many similarities to a Version 3 EPICS IOC, but extends the data types to support structures and arrays.  
slides icon Slides  
MOPB05 "JDDD": A Java DOOCS Data Display for the XFEL 43
 
  • A. Petrosyan, K. Rehlich, P. Tege, E. Sombrowski
    DESY, Hamburg
 
  The X-ray Free-Electron Laser (XFEL) is a new accelerator currently under construction at DESY. It will be a powerful X-ray source for many scientific disciplines ranging from physics, chemistry, and biology to material sciences, geophysics, and medical diagnostics. The commissioning is planned in 2014, and the preparation of the control system was started. The XFEL makes high demands on the control system and its user interface. For this reason jddd, a new Java Data Display program for the Distributed Object-Oriented Control System (DOOCS), has been developed. jddd is a graphical editor for designing and running control panels. The editors functionality is similar to standard IDEs like NetBeans or Eclipse. Complex control panels can easily be created without programming. jddd offers all components needed for control panel design. The Components are reusable Java Beans like labels, buttons, plots, and complex dynamic components as Switches. The jddd panel structure is stored in an xml format. jddd is a further development of the DOOCS data display (ddd) program. For compatibility reasons the old ddd storage format can be converted to the new jddd xml format.  
slides icon Slides  
TPPA01 Control System Design Using LabVIEW Object Oriented Programming 84
 
  • H. Brand, D. B. Beck
    GSI, Darmstadt
 
  Starting with version 8.20, the graphical programming language LabVIEW has been extended to object-oriented programming (LVOOP). This paper comprises a design study investigating the helpfulness of LVOOP for developing LabVIEW-based control systems. Moreover, the possible integration of such a control system into a mixed environment is demonstrated. Conventional object-oriented programs with text-based languages, as C++ or Java, typically declare an object as a pointer in the heap. Later on, objects are addressed "by reference." However, LabVIEW is using the paradigm of dataflow, and LVOOP follows this line. Consequently, objects can only be addressed "by value." This has fundamental consequences, since many existing object-oriented design patterns cannot be used. Within this work, a couple of dataflow design patterns that are useful for programming with LVOOP have been invented. A prototype system has been set up, demonstrating the advantages and disadvantages of this approach. Furthermore, it is easily possible to integrate a control system based on LVOOP into a mixed environment using DIM (www.cern.ch/dim) as a communication layer.  
TPPA03 Software Factory Techniques Applied to Process Control at CERN 87
 
  • M. D. Dutour
    CERN, Geneva
 
  The LHC requires constant monitoring and control of large quantities of parameters to guarantee operational conditions. For this purpose a methodology called UNICOS was implemented to standardize the design of process control applications. To further accelerate the development of these applications, we migrated our existing UNICOS tooling suite toward a software factory in charge of assembling project, domain, and technical information seamlessly into deployable PLC–SCADA systems. This software factory delivers consistently high quality by reducing human error and repetitive tasks and adapts to user specifications in a cost-efficient way. Hence, this production tool is designed to hide the PLC and SCADA platforms, enabling the experts to focus on the business model rather than specific syntax. Based on industry standards, this production tool along with the UNICOS methodology provides a modular environment meant to support process control experts to develop their solutions quickly. This article presents the user requirements and chosen approach. Then the focus moves to the benefits of the selected architecture and finishes with the results and a vision for the future.

LHC:Large Hadron ColliderUNICOS:UNified Industrial COntrol SystemsPLC:Programmable Logic ControllerSCADA:Supervisory Control And Data AcquisitionTerms:Process control, software engineering

 
TPPA04 Role-Based Access Control for the Accelerator Control System at CERN 90
 
  • P. Charrue, P. Gajewski, V. Kain, K. Kostro, G. Kruk, S. T. Page, M. P. Peryt
    CERN, Geneva
  • A. D. Petrov, S. R. Gysin
    Fermilab, Batavia, Illinois
 
  Given the significant dangers of LHC operations, access control to the accelerator controls system is required. This paper describes the requirements, design, and implementation of Role-Based Access Control (RBAC) for the LHC and injectors controls systems. It is an overview of the two main components of RBAC: authentication and authorization, and the tools needed to manage access control data. We begin by stating the main requirements of RBAC and then describe the architecture and its implementation. RBAC is developed by LAFS a collaboration between CERN and Fermilab.  
TPPA05 Control of Acquisition and Cluster-Based Online Processing of GRETINA Data 93
 
  • M. L. Cromaz, C. A. Lionberger
    LBNL, Berkeley, California
 
  The GRETINA gamma ray tracking detector will acquire data from 112 digitizer modules in 28 VME crates. The data will be distributed to a cluster of on the order of 100 computer servers for the computation-intensive initial processing steps which will be run concurrently with data acquisition. A slow-controls system based on EPICS controls all aspects of data acquisition and this online processing. On the cluster, EPICS controls not only when processing is occurring but which processing programs are running on which nodes and where their inputs and outputs are directed. The EPICS State Notation Language is used extensively both in the VME and cluster environments.  
TPPA06 EPICS-Based Control System for Beam Diagnostics of J-PARC LINAC 96
 
  • Y. Kato, H. Sako, G. B. Shen
    JAEA/J-PARC, Tokai-Mura, Naka-Gun, Ibaraki-Ken
  • S. Sato
    JAEA/LINAC, Ibaraki-ken
 
  A commercial measurement instrumentation (WE7000) is used at J-PARC LINAC, to measure beam current from SCT (Slow Current Transformer), beam energy from FCT (Fast Current Transformer), beam position from BPM (Beam Position Monitor), beam size from WSM (Wire Scanner Monitor), or beam loss from BLM (Beam Loss Monitor). The WE7000 is a module-type measurement station, and supports network-based data transmission and communication. A control system has been developed under EPICS framework for the beam diagnostic system to control all WE stations. A waveform signal from a SCT, a FCT, a BPM, a WSM, or a BLM is digitized in a WE7000 station and sent to an EPICS IOC. All signal voltages are calculated inside IOC from a raw digital count. Some physical variables are calculated from the signal voltages including beam current, beam position, and beam phase and beam energy. An EPCIS device driver was reutilized for the data acquisition. The GUI applications for data displays have been developed by using EPICS extensions tools. The current status is reported in this paper about the beam diagnostic system control.  
TPPA07 The Development Plan of High Level Applications for CSNS 99
 
  • P. Chu
    SLAC, Menlo Park, California
  • C. H. Wang, Q. Gan
    IHEP Beijing, Beijing
 
  This paper surveys the recent developments in high level applications. Especially, the XAL framework and its new progress in LCLS is studied. The design philosophy and requirement analysis of CSNS high level applications are also discussed.  
TPPA08 Java Swing-Based Plotting Package Residing Within XAL 102
 
  • P. Chu
    SLAC, Menlo Park, California
  • T. A. Pelaia, A. P. Shishlo
    ORNL, Oak Ridge, Tennessee
 
  A Java swing-based data plotting package residing within the XAL framework is presented. The data types are described that can be used for charts, bar charts, and color-surface plots. The algorithms, performance, interactive capabilities, limitations, and the best usage practices of this plotting package are discussed.  
TPPA09 XAL Application Framework and Bricks GUI Builder 105
 
  • T. A. Pelaia
    ORNL, Oak Ridge, Tennessee
 
  The XAL Application Framework is a framework for rapidly developing document-based Java applications with a common look and feel along with many built-in user interface behaviors. The Bricks GUI builder consists of a modern application and framework for rapidly building user interfaces in support of true Model-View-Controller compliant Java applications. Bricks and the XAL Application Framework allow developers to rapidly create quality applications.  
TPPA10 Development of Photon Beamline and Motion Control Software at Diamond Light Source 108
 
  • T. M. Cobb, P. N. Denison, N. P. Rees
    Diamond, Oxfordshire
 
  Diamond Light Source has opened its first eight photon beamlines to the user community this year. We have developed the control software for the beamlines in parallel, adopting a common set of standards, tools, and designs across all beamlines. At the core of the control system is the EPICS toolset and the widespread use of the Delta Tau PMAC motion controller. The latter is a complex, but flexible controller that has met our needs both for simple and complex systems. We describe how we have developed the standard EPICS software for this controller so that we can use the existing EPICS interfaces, but also enables us to use the more advanced features of the controller.  
TPPA12 User Authentication for Role-Based Access Control 111
 
  • S. R. Gysin, C. L. Schumann, A. D. Petrov
    Fermilab, Batavia, Illinois
 
  User authentication is part of the Role-Based Access Control (RBAC) project for accelerator controls at CERN. It was designed by a collaboration between CERN and Fermilab. Its function is to create, distribute, and manage digital credentials for the users. We had to consider many constraints dictated by existing security policies, complexity of the control system, and diversity of the used software. This paper describes the general design and implementations of the authentication mechanism in Java and C++. We also give an overview of its major features, such as Single Sign-On, credential renewal, and Role Picker.  
TPPA13 High-level Application Framework for LCLS 114
 
  • S. Chevtsov, D. Fairley, C. Larrieu, J. Rock, D. Rogind, G. R. White, S. Zelazny, P. Chu
    SLAC, Menlo Park, California
 
  A framework for high-level accelerator application software has been planned for the Linac Coherent Light Source (LCLS). The framework is based on plug-in technology developed by the Eclipse open-source project. Many existing functionalities provided by Eclipse are available to high-level applications written within this framework. The framework contains static data storage, configuration, and dynamic data connectivity, as well as modeling through XAL and MAD. Additionally, because the framework is Eclipse-based, it is highly compatible with any other Eclipse plug-ins, such as Control System Studio. The entire infrastructure of the software framework will be presented. Applications and plug-ins based on the framework are also presented.
TPPA14 Scope-Embedded IOC Development in SSRF 117
 
  • Y. Z. Chen, Z. C. Chen, D. K. Liu, W. M. Zhou, Y. B. Leng
    SINAP, Shanghai
 
  The dozen of wide-band beam diagnostics sensors such as integration current transformer, faraday cup, and wall current monitors were used in SSRF(Shanghai Synchrtron Radiation Facility) Linac and transport line to measure bunch shape and charge. Few hundreds MHz bandwidth required very high speed digitizer like digital sampling scope. On the other hand SSRF control system was built on EPICS platform. So Windows PC based Tektronics scope, which equipped with TekVISA interface, Shared Memory IOCcore EPICS interface, and Labview application was chosen to do this data acquisition. The details of software design and the performance evaluation results for TDS7104 and DPO7054 will be described in this paper.  
TPPA16 Development of the Software Tools Using Python for EPICS-Based Control System 120
 
  • K. Furukawa, J.-I. Odagiri, N. Yamamoto, T. T. Nakamura
    KEK, Ibaraki
 
  In the commissioning phase of accelerators, many application programs are built and modified frequently by nonexpert programmers. Scripting language such as Python is suitable for such quick development. Since EPICS Channel Access interface library in Python was developed in KEKB accelerator control system, many programs has been written in Python. We have been developing, providing some tools and libraries for Python programming. Some of the recent developments in KEK are reported, and possible applications are also discussed.  
TPPA18 Application of a Virtualization Technology to VME Controllers 123
 
  • T. Fukui
    RIKEN Spring-8, Hyogo
  • T. Ohata, T. Masuda
    JASRI/SPring-8, Hyogo-ken
 
  The SPring-8 control framework MADOCA employs client-server architecture based on Sun RPC (Remote Procedure Call) for device control. An RPC server process named Equipment Manager (EM) is running on each VME controller operated by Solaris. It executes control commands from client applications one by one. As a simple approach to parallel (exactly concurrent) execution of the EM process, we apply the virtualization technology of Solaris Containers to VME controllers. Solaris Containers virtualizes operating system environment within the OS level. It consumes little disk space (~30 MB) to add a new virtual host. All the virtual hosts can access devices on the VME bus through a real host. We don’t need to modify the MADOCA framework and device drivers at all to run the EM process on the virtual host. Therefore, we can easily apply the virtualization technology to the VME controllers which don’t have enough disk space. The technology allows us not only to consolidate but also to logically partition the deployed VME controller. We will report some applications of Solaris Containers to the VME controllers, in particular from the viewpoint of the system performance and management.  
TPPA19 The Run-Time Customization of Java Rich Clients with the COMA Class 126
 
  • R. Bacher, P. Duval, P. K. Bartkiewicz
    DESY, Hamburg
 
  In this report we present the Container Object MAnager (COMA) class for Java applcations, designed for use in rich, simple, or hybrid applications. This class considerably enhances the Graphical User Interface (GUI) flexibility and extends the application's data presentation capabilities. It allows run-time configuration of size, position, and other visual properties of all GUI components. Furthermore, new GUI components such as ACOP* controls can be added by drag-and-drop at run time to the existing application, providing additional access to control system resources. The set of all applied changes made at run time can be saved to an XML configuration file, which in turn can be reapplied by the COMA class upon a restart of the application. In this manner, the COMA class affords the possibility of allowing users in general and operators in particular to apply their own extentions to existing applications. Similarly, starting from an empty COMA frame, a simple application can be easily created at run time without using a framework, IDE, etc. This paper describes the implementation of the Coma class and presents its benefits when used in connection with the ACOP beans.

* "The Acop Family of Beans: A Framework Independent Approach," J. Bobnar, et al., these proceedings.

 
TPPA20 Canone – A Highly-Interactive Web-Based Control System Interface 129
 
  • A. J. Green
    University of Cambridge, Cambridge
  • K. Zagar, M. Pelko
    Cosylab, Ljubljana
  • L. Zambon
    ELETTRA, Basovizza, Trieste
 
  In the recent years, usability of web applications has significantly improved, approaching that of rich desktop applications. Example applications are numerous, e.g., many different web applications from Google. The enabling driver for these developments is the AJAX (Asynchronous JavaScript and XML) architecture. Canone, originally a PHP web interface for Tango control system developed at Elettra, is one of the first attempts of long-distance interaction with the control system via Web. Users with suitable privileges can create panels consisting of various graphical widgets for monitoring and control of the process variables of the control system online. Recently, Canone was extended to interact with a control system through an abstract DAL (Data Access Layer) interface, making it applicable to EPICS and TINE as well. Also, the latest release of Canone comes with drag'n'drop functionality for creating the panels, making the framework even easier to use. This article discusses the general issues of the web-based interaction with the control system such as security, usability, network traffic and scalability, and presents the approach taken by Canone.  
TPPA21 MDSplus Real-Time Data Access in RTAI 132
 
  • A. Barbalace, A. Luchetta, C. Taliercio, G. Manduchi
    Consorzio RFX, Euratom ENEA Association, Padova
  • T. W. Fredian
    MIT, Cambridge, Massachusetts
  • J. A. Stillerman
    MIT/PSFC, Cambridge, Massachusetts
 
  The MDSplus package is widely used in Nuclear Fusion research for data acquisition and management. Recent extensions of the system provide useful features for real-time applications, such as the possibility of locking selected data items in memory and real-time notification. The real-time extensions of MDSplus have been implemented as a set of C++ classes and can be easily ported to any target architecture by developing a few adapter classes. The real-time data access layer of MDSplus is currently available for Windows, Linux, VxWorks and RTAI. In particular, the RTAI platform is very promising in this context because it allows the co-existence of offline, non-real-time tasks with real-time ones. It is hence possible to devise an architecture where real-time functionality is handled by a few selected tasks using the real-time data access layer of MDSplus, whereas background, non-real-time activity is carried out by “traditional” Linux tasks. This organization may be of interest for the next generation of fusion devices with long-duration discharges, during which the system has to provide feedback control in real time and to sustain continuous data acquisition and storage.  
TPPA22 Standard Device Control via PVSS Object Libraries in ALICE 135
 
  • A. Augustinus, P. Ch. Chochula, L. S. Jirden, L. W. Wallet
    CERN, Geneva
 
  The device control in the LHC experiments is based on OPC servers and PVSS SCADA systems. A software framework enables the user to set up his PVSS project for the different devices used. To achieve a homogeneous operational environment for the ALICE experiment, these devices need to be controlled thought standard interfaces. PVSS panels act as the upper control layer and should allow for full control of the devices. The PVSS object-oriented feature has allowed the development of device Object Libraries. The Object Libraries have two main advantages. On one hand, they ease the operator task thanks to the introduced standardization of the various device control panels. On the other hand, they reduce the developer’s job as only basic software knowledge is required to set up a control application for a standard device. This paper will describe the device control architecture including PVSS, software framework, and OPC server. It will describe the Object Libraries developed for some devices, and it will explain how the Object Libraries integrate tools in the ALICE controls environment, such as Finite State Machines, access control, and trending.

ALICE (A Large Ion Collider Experiment)LHC (Large Hadron Collider)OPC (Ole for Process Control)SCADA (Supervisory Control And Data Acquisition)

 
TPPA23 The ACOP Family of Beans: A Framework Independent Approach 138
 
  • P. K. Bartkiewicz, P. Duval, H. G. Wu
    DESY, Hamburg
  • I. Kriznar, J. Bobnar
    Cosylab, Ljubljana
 
  The current ACOP (Advanced Component Oriented Programming)* controls set has now been expanded to include a wide variety of graphical java beans, which simultaneously act as displayers of control system data. Besides the original ACOP Chart, the set of ACOP beans also includes a Label, Slider, Table, Gauge, Wheel, and image control, along with an invisible Transport bean, which is itself embedded in the ACOP GUI beans. The new ACOP beans all offer design-time browsing of the control system to expedite data end-point selection. Optionally a developer can choose to connect and render the incoming data automatically, obviating the need for writing code. The developer can either forgo this option or choose to override the generated code with his own, allowing for rich client development. At the same time a user can browse and add or change the control system endpoints at run-time. If the application is using the Component Object Manager (COMA)** then all visual aspects of the application can be edited at run-time, allowing for simple client development. This scenario is independent of a framework, and the developer is free to choose the IDE of choice.

* http://acop.desy.de** "The Run-Time Customization of Java Rich Clients with the COMA Class," P. Bartkiewicz, et al., these proceedings.

 
TPPA24 Beyond Abeans 141
 
  • J. Bobnar, I. Kriznar
    Cosylab, Ljubljana
  • M. R. Clausen, P. Duval, H. G. Wu
    DESY, Hamburg
  • G. Froehlich
    GSI, Darmstadt
 
  Java Abeans libraries were successfully started in 1999 as part of ANKA control system. The goal was to provide a universal solution for building high level control system applications in Java for any control system. The arrival of Java 1.5 in 2005 was an excellent opportunity to review Abeans and CosyBeans (GUI components and widgets part of Abeans). Cosylab has put experience and new features of Java 1.5 into new projects which superseded what has been done so far by Cosylab. The key element for success of the projects is the collaboration between different laboratories. The CosyBeans components have found their usefulness as a base for development of ACOP GUI components for TINE at DESY. Similarly Abeans' non-visual libraries were replaced by DAL (Data Access Library) and CSS (Control System Studio) projects developed in collaboration with DESY. DAL was also successfully used at GSI, Darmstadt, to model device layer on top of middle-ware CORBA layer. New Java applications were build with DAL and renewed CosyBeans components and are already used in commissioning of new beamline at GSI.  
TPPA25 Scripting vs Programming: An Application Developer's Perspective 144
 
  • G. R. White, S. Zelazny, S. Chevtsov
    SLAC, Menlo Park, California
 
  We discuss our approach to writing high-quality beam analysis applications with rich Graphical User Interfaces (GUIs) for the Linear Coherent Light Source (LCLS) project at SLAC. The choice of Matlab as our environment is contrasted with the more traditional development of complex software in a programming language, such as Java. Some benefits and disadvantages of scripting and programming languages are illustrated on the basis of our practical experiences with similar physics applications. Specific findings are discussed from the developer's point of view, and general suggestions are made for when an application should be written in a programming rather than in a scripting language.

Work supported by Department of Energy contract DE-ACO3-76SFOO5 15.

 
TPPA26 User Interface Framework for the National Ignition Facility (NIF) 146
 
  • G. A. Bowers, R. W. Carey, S. A. Daveler, K. B. Herndon Ford, J. C. Ho, L. J. Lagin, C. J. Lambert, J. Mauvais, E. A. Stout, S. L. West, J. M. Fisher
    LLNL, Livermore
 
  A user interface (UI) framework supports the development of graphical operator controls for the National Ignition Facility (NIF) Integrated Computer Control System (ICCS). The framework simplifies UI coding and ensures consistency for system operators across all NIF subsystems. A comprehensive, layered collection of UIs provides interaction with service-level frameworks, shot automation, and subsystem-specific devices. All user interfaces are written in Java and employ CORBA to interface to other ICCS components. Developers use the framework to compose two major types of user interfaces for broad-views and control panels. Broad-views provide a visual representation of NIF beamlines through interactive schematic drawings. Control panels present status and control at the device level. The UI framework provides a suite of display components that standardize user interaction through data entry behaviors, common connection and threading mechanisms, and a common appearance. With these components, developers can address pattern usability issues in the facility when needed. The UI framework helps developers create consistent and easy-to-understand user interfaces for NIF operators.  
TPPA28 PLC-Based Beam Charge Interlock System for Radiation Safety in the KEKB Injector Linac 149
 
  • K. Furukawa, M. Satoh, T. Suwada, E. Kadokura
    KEK, Ibaraki
 
  A new PLC-based beam-charge interlock system is under development for radiation safety at the KEKB injector linac. This system restricts a prescribed amount of integrated beam charges passing through at several locations along the linac for machine protection, and it also monitors the amount of integrated beam charges injecting to four different storage rings (KEKB e+ & e- storage rings, PF, PF-AR) at the linac beam switchyard. The beam charges delivered from an electron gun are measured with the PLC-based beam-charge interlock system. This system comprises wall-current monitors, beam-charge integration circuits, and a PLC-based control system. This system generates and sends beam abort signals directly to another radiation safety control system with hard-wire cables when the amount of the integrated beam charges is beyond the prescribed threshold level. In this report we describe the new design of the PLC-based beam-charge interlock system, and especially several software developments and performances implemented on the PLC are described.  
TPPA29 Interfacing of Peripheral Systems to EPICS Using Shared Memory 152
 
  • E. Tikhomolov
    TRIUMF, Vancouver
 
  Interfacing of peripheral control and data acquisition systems to an EPICS-based control system is a common problem. At the ISAC radioactive beam facility, both Linux-based and Windows-based systems were integrated using the “soft” IOC, which became available in EPICS release 3.14. For Linux systems, shared memory device support was implemented using standard Linux functions. For Windows-based RF control systems, the “soft” IOC runs as a separate application, which uses shared memory for data exchange with the RF control applications. A set of DLLs exposes an API for use by the application programmer. Additional features include alarm conditions for read-back updates, watchdogs for each running application, and test channels.  
TPPA30 Channel Access Clients on the Microsoft Windows Platform 155
 
  • B. G. Martlew
    STFC/DL/SRD, Daresbury, Warrington, Cheshire
  • A. Oates, G. Cox
    STFC/DL, Daresbury, Warrington, Cheshire
 
  The control system for the Energy Recovery Linac Prototype (ERLP) under construction at Daresbury uses EPICS and vxWorks on VME64x. The client software in use during the commissioning of the accelerator is based on PC consoles running Red Hat 9. Synoptic displays and engineering panels are created using the Extensible Display Manager (EDM) and other standard EPICS extension software is used for archival and alarm handling. The Synchrotron Radiation Source (SRS) control system uses a bespoke control system with client software on PC consoles running Microsoft Windows. We would like to employ a similar approach for the operational client software on ERLP with Channel Access clients running on Microsoft Windows PC consoles. However, the Microsoft Visual Studio development tools and ActiveX/COM technologies used for creating client side software on the SRS control system are now outdated and have been superseded by the .NET framework and associated developer tools. This paper discusses the different options currently available for developing Channel Access clients on the Microsoft Windows platform, along with progress in creating Channel Access clients for the .NET framework.  
TPPA31 Redundant EPICS IOC in PC-based Unix-like Environment 158
 
  • M. R. Clausen, G. Liu, B. Schoeneburg
    DESY, Hamburg
  • K. Furukawa
    KEK, Ibaraki
  • A. Kazakov
    GUAS/AS, Ibaraki
 
  Redundant EPICS IOC is being actively developed at DESY in order to achieve high availability. Current development focuses on VME vxWorks environment for cryogenics controls. However, many facilities use PC-architecture and unix-like systems as Linux and FreeBSD. These facilities require high availability and redundancy as well. So this paper will describe the implementation of EPICS redundant IOC in PC-based environment with Linux and FreeBSD. This work will be done by porting Redundancy Monitor Task (RMT) and Continuous Control Executive (CCE). RMT is responsible to make a decision when to fail-over; it is rather independent and may be used in a wide range of applications. In the future it can be employed in caGateway to add redundancy. CCE is aimed to synchronize two RSRV-based IOC servers.  
TPPA32 LivEPICS: An EPICS Linux Live CD NAGIOS Equipped 161
 
  • R. Lange
    BESSY GmbH, Berlin
  • N. J. Richter
    CQU, Rockhampton
  • M. G. Giacchini
    INFN/LNL, Legnaro, Padova
 
  EPICS* distributions – analogous to a Linux distribution, are collections of EPICS software that have been proven to work together. It is much quicker to download and install a distribution than it would be to obtain all of the individual pieces and install them separately. LivEPICS** distribution contains binaries from EPICS Base, various extensions, and source code.

* EPICS official web site: http://www.aps.anl.gov/epics/distributions/index.php** M. Giacchini., PCaPAC Workshop 2006 poster. http://conferences.jlab.org/pcapac/talks/poster/Giacchini.pdf.

 
WOPA01 Future of CORBA in Distributed Real-Time and Embedded Systems 302
 
  • D. C. Schmidt
    Vanderbilt University, Nashville, Tennessee
 
  CORBA is being used as the middleware infrastructure for many large-scale communication systems, particularly mission-critical distributed real-time and embedded (DRE) systems. Now that CORBA has passed its 15th birthday, software architects must evaluate its continued use as software architectures and technologies evolve. Is it still the middleware of choice for DRE systems? Other asynchronous message-oriented middleware (MOM) technologies are being used by emerging Service-Oriented Architectures (SOA) and enterprise systems. Given these industry trends, how can existing CORBA enabled applications best integrate with overarching enterprise information systems. At the embedded end of the DRE spectrum, will the recent completion of the CORBA/e (embedded) standard and FPGA- and DSP-based ORBs push CORBA further into the software/hardware domain for high performance, highly reliability DRE systems intelligent sensors? Are the platform- and language-independent features of CORBA still important requirements of existing and future large DRE systems? This talk explores these and other questions about the use of CORBA in DRE system architectures.  
slides icon Slides  
WOPA02 Remote Operations of an Accelerator Using the Grid 303
 
  • M. Pugliese, M. Prica
    ELETTRA, Basovizza, Trieste
 
  The GRIDCC* is a three-year project funded by the European Commission. Its goal is integrating instruments and sensors with the traditional Grid resources. The GRIDCC middleware is being designed bearing in mind use cases from a very diverse set of applications, and as the result, the GRIDCC architecture provides access to the instruments in as generic a way as possible. GRIDCC is also developing an adaptable user interface and a mechanism for executing complex workflows in order to increase both the usability and the usefulness of the system. The new middleware is incorporated into significant applications that will allow the software validation in terms both of functionality and quality of service. The pilot application this paper focuses on is applying GRIDCC to support Remote Operations of the ELETTRA synchrotron radiation facility. We describe the results of implementing via GRIDCC complex workflows involved in the both routine operations and troubleshooting scenarios. In particular, the implementation of an orbit correction feedback shows the level of integration of instruments and traditional Grid resources which can be reached using the GRIDCC middleware.

* http://www.gridcc.org.

 
slides icon Slides  
WOPA03 LHC Software Architecture [LSA] – Evolution Toward LHC Beam Commissioning 307
 
  • S. Deghaye, M. Lamont, L. Mestre, M. Misiowiec, W. Sliwinski, G. Kruk
    CERN, Geneva
 
  The LHC Software Architecture (LSA) project will provide homogenous application software to operate the Super Proton Synchrotron accelerator (SPS), its transfer lines, and the LHC (Large Hadron Collider). It has been already successfully used in 2005 and 2006 to operate the Low Energy Ion Ring accelerator (LEIR), SPS and LHC transfer lines, replacing the existing old software. This paper presents an overview of the architecture, the status of current development and future plans. The system is entirely written in Java and it is using the Spring Framework, an open-source lightweight container for Java platform, taking advantage of dependency injection (DI), aspect oriented programming (AOP) and provided services like transactions or remote access. Additionally, all LSA applications can run in 2-tier mode as well as in 3-tier mode; thus the system joins benefits of 3-tier architecture with ease of development and testability of 2-tier applications. Today, the architecture of the system is very stable. Nevertheless, there are still several areas where the current domain model needs to be extended in order to satisfy requirements of LHC operation.  
slides icon Slides  
WOPA04 Front-End Software Architecture 310
 
  • L. Fernandez, S. Jackson, F. Locci, J. L. Nougaret, M. P. Peryt, A. Radeva, M. Sobczak, M. Vanden Eynden, M. Arruat
    CERN, Geneva
 
  CERN’s Accelerator Controls group launched a project in 2003 to develop the new CERN accelerator Real-Time Front-End Software Architecture (FESA) for the LHC and its injectors. In this paper, we would like to report the status of this project, at the eve of the LHC start-up. After describing the main concepts of this real-time Object Oriented Software Framework, we will present how we have capitalized on this technical choice by showing the flexibility through the new functionalities recently introduced such as Transactions, Diagnostics, Monitoring, Management of LHC Critical Settings, and Communication with PLC devices. We will depict the methodology we have put in place to manage the growing community of developers and the start of a collaboration with GSI. To conclude we will present the extensions foreseen in the short term.  
slides icon Slides  
WOPA05 Evolution of Visual DCT 313
 
  • M. Sekoranja, I. Verstovsek, J. Bobnar
    Cosylab, Ljubljana
 
  Visual DCT (Visual Database Configuration Tool) became the most advanced and popular graphical EPICS database configuration tool for creating, editing and debugging EPICS databases. EPICS is a widely used control system based on a real-time database configured via ASCII files. The most recent development achievements in Eclipse IDE, which is also a RCP application portable to many operating systems since it is written in Java, brought another perspective to development of Visual DCT. Using Eclipse GEF (Graphical Editing Framework) for graphical features and EMF (Eclipse Modeling Framework) for database code generation makes it possible for Visual DCT to become a part of the Eclipse IDE. Using Eclipse as the framework for application automatically adds common features as plug-in support, debugging tools and many others. In addition, Visual DCT could be used as a part of the CSS (Control System Studio) allowing easy handling of EPICS databases using MB3 (mouse button 3) and drag and drop functionalities.  
slides icon Slides