Integration of Blu-Ice into

Slides:



Advertisements
Similar presentations
Paul Chu FRIB Controls Group Leader (Acting) Service-Oriented Architecture for High-level Applications.
Advertisements

Imperial College Tracker Slow Control & Monitoring.
IRMIS 2 Overview Andrew Johnson Computer Scientist, AES Controls.
BLU-ICE and the Distributed Control System Constraints for Software Development Strategies Timothy M. McPhillips Stanford Synchrotron Radiation Laboratory.
Elder Matias, Diony Medrano, Dong Liu (At Michigan State University - Nov 2011) IRMIS at CLS.
A U.S. Department of Energy Office of Science Laboratory Operated by The University of Chicago Argonne National Laboratory Office of Science U.S. Department.
EPICS Release 3.15 Bob Dalesio May 19, Features for 3.15 Support for large arrays - done for rsrv in 3.14 Channel access priorities - planned to.
EPICS Release 3.15 Bob Dalesio May 19, Features for 3.15 Support for large arrays Channel access priorities Portable server replacement of rsrv.
SPI NIGHTLIES Alex Hodgkins. SPI nightlies  Build and test various software projects each night  Provide a nightlies summary page that displays all.
ICS WP3 – Software Core Components Suzanne Gysin Work Package Lead November 25, 2014.
Fermilab Control System Jim Patrick - AD/Controls MaRIE Meeting March 9, 2016.
Controls Software Developer - Summer workers The Machine Directorate at the European Spallation Source (ESS) in Lund, Sweden, invites applications for.
The Electromagnetic Spectrum High Harmonic Generation
Mathematical Derivation of Probability
Jonathan Donkers1, Lin Zhang1+
Operations Machine Simulator.
Madhu Karra1, Jason Koglin1,2
Development Environment
Sentiment Analysis and Data visualization Techniques of Experiments
AT Commands Supports AT commands
Characterizing Optics with White-Light Interferometry
Matter in Extreme Conditions at LCLS:
Kevin Shimbo1, Matt Hayes+
X-Ray Shielding Introduction Application Research Conclusions
Crystallography images
Hutch 4 (XCS) Laser System
Anomaly Detection LCLS data: Introduction Research Conclusion
MAKING WAY FOR LCLS II HERRIOTT CELL IGNIS THE NEED FOR LCLS-II
A remote EPICS monitoring tool
EASE: Alert Management
Designing and Prototyping Optics Table and Shelves
Managing Diffraction Beam
Effects of Wrapping Vacuum
Scintillation Material Encapsulation Fixture
LCLS CXI Sample Chambers and Engineering Solutions
Values to Normalize Data
Designing a molecular probe for detection
LAMP Vacuum System Documentation
LCGAA nightlies infrastructure
Your Name, Elias Catalano, Robert Sublett, Robin Curtis
Course: Introduction to Computers
Determining a Detector’s Saturation Threshold
HXRSD Helium Enclosure
Crystallography Labeling Using Machine Learning
IT Inventory and Optimization
Structural study of soluble ammonia monooxygenase
Creation and development of a PRP database
IT Inventory and Optimization
Electro Optic Sampling of Ultrashort Mid-IR/THz Pulses
Margaret Koulikova1, William Colocho+
Programmable Logic Controllers (PLCs) An Overview.
Analytical Solutions for Heat Distribution in KB Mirror Systems
Repeatability Test of Attocube Piezo Stages
Analytical Solutions for Temperature
Barron Montgomery1,2, Christopher O’Grady2, Chuck Yoon2, Mark Hunter2+
Getting Started with EPICS A lecture Series
Elizabeth Van Campen, Barrack Obama2, Stephen Curry1,2, Steve Kerr2+
Advanced Methods of Klystron Phasing
Ryan Dudschus, Alex Wallace, Zachary Lentz
Jennifer Hoover1, William Colocho2
X-Ray Spectrometry Using Cauchois Geometry For Temperature Diagnostics
Redesigning of The SED Calendars
Automatic compression control for the LCLS injector laser
Russell Edmonds1, Matt Hayes2+ 1LCLS Summer Research Intern
Title of Your Poster Introduction Research Conclusions Acknowledgments
Reconstruction algorithms Challenges & Future work
NICOS – IBEX Interactions
Automation of Control System Configuration TAC 18
European Spallation Source Archiving Service
Web Application Development Using PHP
Presentation transcript:

Integration of Blu-Ice into EPICS Dillon Hu, Jing Yin2, Karl Gumerlock2+ 2Linac Coherent Light Source, SLAC National Accelerator Laboratory, 2575 Sand Hill Road, Menlo Park, CA 94025, USA. +Contact: klg@slac.stanford.edu Introduction The DCS server, or DCSS communicates with the Blu-Ice GUI and DHS. The GUI sends instructions to DCSS, which tells the DHS what to do. The DHS has low-level control over physical devices and simply executes instructions from the DCSS. We hoped to initially replace the stoh and htos messages (Server to Hardware and Hardware to Server messages) that the DCSS sends/receives from the DHS to control hardware by redirecting it to modify/change EPICS PVs via Channel Access. This would be simplest and easiest way to connect DCSS to EPICS. We found a gateway that sent DCS messages into EPICS, and were hoping to integrate that into Blu-Ice. The gateway was already written and allowed for stoh and htos messages to be sent to EPICS. The trick would be properly integrating it into Blu-Ice. The DCSS is a very complex system as it manages several GUI clients as well as several hardware clients. The DCSS also allows custom scripts to be run and executed, which also adds another dimension of complexity. The most logical way to integrate EPICS would be to create a single gateway that parses and executes all messages being sent to the server (gtos or GUI to server). However, upon observation of the DCSS structure, this became unfeasible as each GUI client has its own message handler, meaning that a separate gateway would have to be created for each client. New Discovery The SSRL beamline is controlled by the DCS protocol or distributed control system, which consists of three parts: The Blu-Ice GUI, the DCSS or the distributed control system server, and the DHS or distributed hardware servers. Some of the drawbacks of Blu-Ice is that the GUI scripted from Tcl/Tk, which is a very old and rarely used language. DCSS/DHS are programmed in C++, but it is very complex and hard to understand, thus making maintenance quite difficult. The purpose of this project is to integrate as much of Blu-Ice into EPICS as we can, with the eventual goal of replacing all of DCSS/DHS with EPICS and replacing the Blu-Ice GUI with one written in Python. As I was researching information on Blu-Ice, I stumbled upon a project that a team from Argonne National Laboratory did (JBluIce), which essentially removed DCSS/DCS from Blu-ICE and replaced it with EPICS. They also replaced the Tcl/Tk GUI with one written in Java. This was a major discovery as it basically encompassed our project goals (Integrating EPICS into Blu-Ice and replacing the GUI with one written in a more modern programming language). Currently, we are working on launching the JBluIce and testing it. There are a lot of missing packages that need to be installed and the configuration of JBluIce will have to be changed to suit the SSRL beamlines. We are hoping that we can deploy JBluIce this summer. I’m also in the process learning Python as we hope to replace the Java GUI with one written in Python. Research Initially, I spent time learning how EPICS worked. EPICS uses IOC’s (Input Output Controllers) which interface to equipment and devices. The IOC runs on a database of PVs (or records), process variables that represent instruments and their controllable aspects. Clients can connect to the IOC via Channel Access protocol and then interact with the hardware. Once we were able to get access to the Blu-Ice source code, I started parsing through it to find the best way to integrate EPICS into Blu-Ice, as well as trying to understand how Blu-Ice worked. Conclusions We wanted to integrate EPICS into Blu-Ice to make the source code more readable and maintainable. This is still a work in prohress. There already exists a viable solution for integrating Blu-Ice with EPICS (JBluIce). We are currently working on launching and testing it. Eventually, we hope to create a new GUI written in Python. Acknowledgments Use of the Linac Coherent Light Source (LCLS), SLAC National Accelerator Laboratory, is supported by the U.S. Department of Energy, Office of Science, Office of Basic Energy Sciences under Contract No. DE-AC02-76SF00515. Fig 1. DCS architecture. Blu-Ice GUIs connect to the DCSS, which sends instructions to the DHS. Date: 08/01/2016