Diamond Light Source Data Acquisition System Paul Gibbons.

Slides:



Advertisements
Similar presentations
Università della Calabria A Software Architecture for the m-Learning in Instrumentation and Measurement P. Daponte, S. Rapuano Dept. of Engineering, University.
Advertisements

Control System Studio (CSS)
Introduction Main technologies: core written in Java embedded Jython interpreter code managed using the Eclipse plugin framework client program uses Eclipse.
Diffcalc Software for diffractometer control Rob Walton 4 th June 2010.
Objective Understand web-based digital media production methods, software, and hardware. Course Weight : 10%
SNS Beamline Experiment Control (Future) Xihui Chen, Kay Kasemir 4/15/2013.
Wayne Lewis Australian Synchrotron Beamline Controls Design and Implementation.
1 Introduction to XML. XML eXtensible implies that users define tag content Markup implies it is a coded document Language implies it is a metalanguage.
EPICS Meeting 2005ORNL Rdb systems at SNS Jeff Patton and cast April 27-29, 2005 EPICS Meeting 2005.
Phones OFF Please Operating System Introduction Parminder Singh Kang Home:
Software Frameworks for Acquisition and Control European PhD – 2009 Horácio Fernandes.
Interpret Application Specifications
Connecting AreaDetector to GDA John Hammonds Software Services Group Advanced Photon Source The submitted manuscript has been created by UChicago Argonne,
Chapter 10: Architectural Design
Slide 1 of 9 Presenting 24x7 Scheduler The art of computer automation Press PageDown key or click to advance.
Client/Server Architectures
Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.
Scan System Kay Kasemir, Xihui Chen Jan Managed by UT-Battelle for the U.S. Department of Energy Automated Experiment Control “Scan” should be.
Scan System: Experiment Automation Kay Kasemir, Xihui Chen RAL EPICS Meeting, May 2013.
Number Five Software One provider Multiple Solutions professional card design software The most flexible and powerful solution for card issuing! The best.
Web Application Beamline Control Module Very Sensitive Elemental and Structural Probe Employing Radiation from a Synchrotron (VESPERS) The VESPERS beamline.
GumTree The Scientific Workbench ~Technology Showcase~ Tony Lam Australian Nuclear Science and Technology Organisation.
Deutsches Elektronen-Synchrotron DESY Helmholtz Association of German Research Centres Hamburg, Germany The European X-Ray Laser Project.
Imperial College Tracker Slow Control & Monitoring.
Capture and Replay Often used for regression test development –Tool used to capture interactions with the system under test. –Inputs must be captured;
STAC usage at Diamond Richard Fearn Software Engineer.
Content Management Systems Week 14 LBSC 671 Creating Information Infrastructures.
Debby Quock November 13, 2012 IRMIS at CLS. IRMIS Currently at CLS PV Crawler –Perl modules that parse EPICS IOC st.cmd, db, and dbd files. Information.
BLU-ICE and the Distributed Control System Constraints for Software Development Strategies Timothy M. McPhillips Stanford Synchrotron Radiation Laboratory.
LCLS Undulator Positioning Control System Shifu Xu, Joseph Xu, Josh Stein Control Group, AES/APS, ANL June 15, 2006.
1/15 G. Manduchi EPICS Collaboration Meeting, Aix-en-Provence, Spring 2010 INTEGRATION OF EPICS AND MDSplus G. Manduchi, A. Luchetta, C. Taliercio, R.
Jan Hatje, DESY CSS ITER March 2009: Technology and Interfaces XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser 1 CSS – Control.
The CSS Scan System Kay-Uwe Kasemir SNS/ORNL Dec
Detectors for Light Sources Contribution to the eXtreme Data Workshop of Nicola Tartoni Diamond Light Source.
Human-computer interfaces. Operating systems are software (i.e. programs) used to control the hardware directly used to run the applications software.
GDA - Generic high speed data collection with EPICS Paul Gibbons Data Acquisition Team Leader Diamond Light Source.
K.Furukawa, Nov Database and Simulation Codes 1 Simple thoughts Around Information Repository and Around Simulation Codes K. Furukawa, KEK Nov.
Automated Testing Presentation to EPICS Collaboration Meeting DESY Paul Gibbons PhD Diamond Light Source Ltd.
C OMPUTING E SSENTIALS Timothy J. O’Leary Linda I. O’Leary Presentations by: Fred Bounds.
August 2003 At A Glance The IRC is a platform independent, extensible, and adaptive framework that provides robust, interactive, and distributed control.
Australian Synchrotron Mature GUI’s for protein crystallography beamlines Julian Adams.
Réunion Contrôle Expérience 28/03/ Experiments Controls Vision, ideas, tasks to begin with … Alain Buteau Andy Götz.
Jan Hatje, DESY CSS GSI Feb. 2009: Technology and Interfaces XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser 1 CSS – Control.
With TANGO S. Poirier – Data management group.
11 th February 2008Brian Martlew EPICS for MICE Status of the MICE slow control system Brian Martlew STFC, Daresbury Laboratory.
TRIUMF HLA Development High Level Applications Perform tasks of accelerator and beam control at control- room level, directly interfacing with operators.
Motion Control at the Advanced Photon Source Argonne National Laboratory Mark Rivers University of Chicago 7 GeV synchrotron x-ray light source, the largest.
Interstage BPM v11.2 1Copyright © 2010 FUJITSU LIMITED INTERSTAGE BPM ARCHITECTURE BPMS.
Building Preservation Environments with Data Grid Technology Reagan W. Moore Presenter: Praveen Namburi.
Office of Science U.S. Department of Energy “Traditional” Tools for Beamline Applications Mark Rivers University of Chicago October 16, 2008.
introductionwhyexamples What is a Web site? A web site is: a presentation tool; a way to communicate; a learning tool; a teaching tool; a marketing important.
Examples of Matlab Controls Software on ALICE Andy Wolski 24 September 2014 Multiknobs: simultaneous control of a set of magnets Undulator Gap Scan ALICE.
ORNL is managed by UT-Battelle for the US Department of Energy Status Report: Data Acquisition and Instrument Controls for the Spallation Neutron Source.
+ SwissFEL Matlab Toolbox ADAQA used for Emittance Measurements Bolko Beutner, Rasmus Ischebeck PSI / DESY / KIT Mini-Workshop on Longitudinal Diagnostics.
Control System Tools for Beam Commissioning Timo Korhonen Controls Division Chief Engineer April 8, 2014.
Generic Data Acquisition (GDA) Richard Fearn Data Acquisition Diamond Light Source.
“OSGi at the UK’s Biggest Science Lab.”
What Do Computers Do? A computer system is
Device Pool Status Report TANGO Collaboration Meeting April 17, 2008
Mark Rivers University of Chicago
SOFTWARE and OPERATING SYSTEM.
Integration of Blu-Ice into
Sample Changer Robot (at PX beamlines)
Objective Understand web-based digital media production methods, software, and hardware. Course Weight : 10%
NICOS – IBEX Interactions
Chapter-1 Computer is an advanced electronic device that takes raw data as an input from the user and processes it under the control of a set of instructions.
Objectives Explain the role of computers in client-server and peer-to-peer networks Explain the advantages and disadvantages of client- server and peer-to-peer.
Diamond is all about data…
EPICS at Diamond Mark Heron Head of Controls Group
Presentation transcript:

Diamond Light Source Data Acquisition System Paul Gibbons

What has this got to do with EPICS? Surely just another channel access client!

How do we use the beam line to get an electron density map of a protein?

A complete experiment requires: User Login Sample Identification Initial data collection to characterise sample. Data collection Data processing Store all artefacts in database for remote access Repeat automatically for many samples.

At Diamond we delegate the tasks EPICS – Provide software abstraction of hardware GDA – Provide GUI, Experiment Logic, Access to external databases/file systems

XPS Motor Controller Delta-Tau Motor Controller'Soft' motor EPICS -Motor Record GDA - Scannable EpicsMotorAbstractMotorDetectorJython object

EPICS GDA Client GDA Server Photonic CCD I18 Beamline Components Jython Scripts Image Pro XsPress2 Multilayer Ion Chambers Vortex MCA Detectors

Sample Control

Experiment control

Data Acquisition Features GUI closely integrates the detector suite: Rapid2D Hotwaxs Hotsaxs TFG2 That is important for: short time experiments targeted user community

Data Analysis Features plugin system for external Java software user assisted q calibration upcoming: more analysis features –data visualisation –live view of incoming detector data

Jython Interpreter allows users to easily write very powerful experiment scripts.

Scan - PseudoDevice Get value Set value scan value

Scanning & reading data

I16 Hardware / Experiments Six circle diffractometer Five point and two Pilatus detectors. Goodies: –Incident polarisation selection –Reflected polarisation analyser –Sample coolers and magnets Wide range of diffraction experiments –Command line control only –Scan command… –Temporary scripts… –Pilatus GUI…

Illustrative Scans Versatile system of 1) Interchangeable Scannables: slits, phi, energy, hkl, ct, pil 2) Scan command Examples: –Scan to keep still –One-night-only scannable > scan energy hkl [1 0 1] pol 90 ct 1 > voltage = 1.54 > scan energy flipper [voltage 20 2]

Illustrative Experiment Script posHkl = [0,0,2] pos hkl posHkl for posPhi in frange(-90, 90, 1): pos phi phiPos if posPhi%45==0: scancn theta t 2 checkbeam pos eta FindScanPeak('APD')['eta'])‏ scancn chi t 2 checkbeam pos chi FindScanPeak('APD')['chi'])‏ posHkl = hkl()‏ pos hkl hklPos pos pp111 [en() -.075] scancn eta ct 2 en pp111 pos pp111 [en() +.075] scancn eta ct 2 en pp111 1) Find a reflection’s exact hkl position 2) Move phi in loop: b) occasionally recentre on reflection i) centre eta on reflection ii) centre chi on reflection iii) store hkl position c) move to hkl position d) loop polarisation i) scan eta & read ct AlgorithmScript (night24sept08a.py)‏

Pilatus 2M > pos pil 10> scan phi pil 10

Combining Jython with EPICS objects Easy to use High level language Combine EPICS devices together to make full experiment with speed of execution of EPICS. Hardware interface is robust to user error

Epics Interface

Controls Group provides an IOC device description in XML – Automatic Object Creation

EPICS devices available to scripts and GUI without needing to know PV names. The GDA EpicsDevice and its methods are accessible over CORBA along with all other Java objects in GDA.

Access any field, e.g. DESC Access value in various format, e.g. DBR_CTRL

So What Next Support more complex EPICS devices e.g. motor controller trajectory scan object. Role Based Access Remote Access Eclipse RCP

The Eclipse framework is a mechanism for hosting various software written by different organisations to work together to create a single application. Allows more structured development on GDA as plugins. Breaks large monolithic structure into separately developed components. Professional looking product – context sensitive help, auto-completion. Make use of plugins written by others e.g. IDL visualisation plugins.

Main Panels now Eclipse Views

PyDev plugin used to provide script editor and console with context sensitive help.

Eclipse cheat sheets guide user interactively.

Putting it all together as a complete experiment application.