A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  

Ikeda, H.

Paper Title Page
THP089 Development of a New Java Channel Access Library JCAL 844
 
  • H. Ikeda
    Visual Information Center, Inc., Ibaraki-ken
  • H. Sako
    JAEA/J-PARC, Tokai-Mura, Naka-Gun, Ibaraki-Ken
 
  Java channel access libraries JCA and CAJ have been commonly used for device control applications in Java. However, they have instability of performance and vulnerability of the code implementations. To overcome the problems, a new compact Java channel access library, JCAL (Java Channel Access Light library) has been developed. The library is so far limited to the channel access client functionalities and no channel access repeater has been implemented. A special care is taken to design the architecture in order to keep thread safety and robustness of the codes. The main part of the library works in a single thread (the inner thread), with outer threads for the monitor function and for the call-back function of a channel. By taking such a simple and well-defined design, robustness of the codes is realized. The bench mark tests in the real J-PARC control room environment have been carried out and compared to JCA and CAJ, which show comparable performance. An adapter library has been also implemented to easily plug in JCAL to existing Java applications using JCA or CAJ.  
poster icon Poster  
THP091 Development of a High-Level Application Framework with a Script Language JCE for Accelerator Beam Commissioning 850
 
  • H. Ikeda
    Visual Information Center, Inc., Ibaraki-ken
  • H. Sako
    JAEA/J-PARC, Tokai-Mura, Naka-Gun, Ibaraki-Ken
 
  For accelerator beam commissioning, script language is very powerful, especially in the early stage of commissioning, to create and modify applications quickly and iteratively. A high-level application framework based on script language, J-PARC Commissioning Environment (JCE), has been developed. JCE is capable of device control via EPICS, beam transport simulation with the XAL online model, GUI components, mathematical functions, and so on, which are flexibly and seamlessly combined in the script. A Mathematica style of language ("SAD script") is adopted, which was originally defined in "SAD" framework in KEK and has been successfully used for accelerators such as KEKB. However, SAD is implemented in complex FORTRAN code with interlaced parser parts and function parts. To overcome such problems, we have constructed JCE framework in Java, whose implementation is independent of SAD. A special care is taken to clearly separate the parser part from actual function parts, and to document the codes. Thus modularity of the architecture, code understandability, and extensibility are dramatically improved. JCE has been utilized successfully for beam commissioning of J-PARC linac.  
poster icon Poster