EPICS at APS Beamlines Tim Mooney Advanced Photon Source Argonne National Laboratory.

Slides:



Advertisements
Similar presentations
MotoHawk Training Model-Based Design of Embedded Systems.
Advertisements

Wayne Lewis Australian Synchrotron Beamline Controls Design and Implementation.
EPICS at APS Beamlines Tim Mooney Advanced Photon Source Argonne National Laboratory.
Pete Owens MICE Controls & Monitoring Workshop 25th September 2006 MICE Control and Monitoring: General Architecture Subsystem Integration User Interface.
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.
V4 – Executive Summary 1.Provide online add/delete of I/O to support continuous operation. 2.Provide redundant control of remote I/O to support improved.
Summary of EPICS Beamline Controls SIG Workshop Mark Rivers University of Chicago June 14, 2006.
1 QED In Vivo USB Input Output Box configuration This tutorial contains a number of instructions embedded in a great deal of explanation. Procedures that.
SynApps status and plans Tim Mooney Beamline Controls & Data Acquisition Group June 13, 2006.
EPICS Meeting, APS, June 14 th 2006 MCS-8 The 8 axes motion control system Rok Šabjan
.
Development of EPICS Embedded Image Processing System Takashi Obina, Jun-ichi Odagiri, Ryota Takai KEK, Accelerator Laboratory.
Scan System: Experiment Automation Kay Kasemir, Xihui Chen RAL EPICS Meeting, May 2013.
Topics Introduction Hardware and Software How Computers Store Data
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 10 Database Performance Tuning and Query Optimization.
SSRF Beamline Control System
APS BPM and power supply applications on micro-IOCs W. Eric Norum
1.Overview 2. Hardware 3. Software Interface 4. Triggering 5. Installation 6. Configuring.
CBASS for Beamline Control Software Development: John Skinner Matt Cowan Rick Buono Chris Dropp Leon Flaks Scientific Support: Annie Heroux Howard Robinson.
EPICS Developments at the Australian Synchrotron DSP EPICS driver for the General Standards 16AIO analog card EPICS driver for the Galil range of motor.
EPICS for Experiments. Programme 09:30: Introduction to EPICS (Nick Rees) 09:45: Asyn (Jon Thompson) –C++, extending AsynPortDriver base class –Parameters,
1 BROOKHAVEN SCIENCE ASSOCIATES NSLSII Physics Applications – Applying V4 The Control Group – presented by Bob Dalesio Taiwan EPICS Meeting, June 2011.
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.
Conversion to EPICS R3.14 Mark Rivers. New capabilities Progress in converting synApps/GSECARS Outstanding issues Work to be done Outline.
Beamline Controls with EPICS at NSLS Zhijian Yin NSLS, BNL EPICS Collaboration Meeting, SSRF, March 2008.
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.
1/15 G. Manduchi EPICS Collaboration Meeting, Aix-en-Provence, Spring 2010 INTEGRATION OF EPICS AND MDSplus G. Manduchi, A. Luchetta, C. Taliercio, R.
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.
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.
Jesse Smith HPCAT Newport XPS controller Some initial development, commissioning, and user operation.
EEDEED Tuesday, May 18, VBA & Process Variables  System Overview  Setup (What installations are needed)  What are Process Variables and what.
Technical Presentation
“Recent” developments in EPICS-based beamline software 7/24/02 Tim Mooney Beamline Controls & Data Acquisition Group Advanced Photon Source Argonne National.
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.
Python Applications for beamline control/analysis Tim Mooney
EPICS Application Development At The Canadian Light Source Glen Wright.
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.
18. June 2003EPICS WS Channel Management Andreas Lüdeke Swiss Light Source / PSI 20 May 2003 EPICS Collaboration Meeting.
Control System Overview J. Frederick Bartlett Fermilab June 1,1999.
1. LabVIEW and EPICS Workshop EPICS Collaboration Meeting Fall 2011.
Python Applications for Beamline Control Mark Rivers.
Motor drivers for asyn motor device support Mark Rivers GeoSoilEnviroCARS, Advanced Photon Source University of Chicago.
Source Controller software Ianos Schmidt The University of Iowa.
Réunion Contrôle Expérience 28/03/ Experiments Controls Vision, ideas, tasks to begin with … Alain Buteau Andy Götz.
BROOKHAVEN SCIENCE ASSOCIATES U.S. Department of Energy Office of Basic Energy Sciences Funded under contract: DE-AC02-98CH10886 EPICS/RTEMS at NSLS S.
An EPICS solution for Galil products that can provide a comprehensive, and high performance motor and PLC control system for use at synchrotrons and other.
Cross Language Clone Analysis Team 2 February 3, 2011.
1 1999/Ph 514: Supported Hardware EPICS Supported Hardware Ned D. Arnold APS.
E. Matias Canadian Light Source CLS Beamline Controls.
Disk Layout/Productization Proposal Ron Rechenmacher and Geoff Savage.
Control System Overview J. Frederick Bartlett Fermilab June 1,1999.
Motion Control at the Advanced Photon Source Argonne National Laboratory Mark Rivers University of Chicago 7 GeV synchrotron x-ray light source, the largest.
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.
Office of Science U.S. Department of Energy “Traditional” Tools for Beamline Applications Mark Rivers University of Chicago October 16, 2008.
ORNL is managed by UT-Battelle for the US Department of Energy Status Report: Data Acquisition and Instrument Controls for the Spallation Neutron Source.
Updates to CaPython/CaChannel John Hammonds Beamline Controls and Data Acquisition Group APS Engineering Support Division EPICS Collaboration Meeting INFN.
Wednesday NI Vision Sessions
SynApps status and plans Mark Rivers October 16, 2008 based on material provided by Tim Mooney Beamline Controls & Data Acquisition Group Advanced Photon.
LCLS Commissioning & Operations High Level Software
Device Pool Status Report TANGO Collaboration Meeting April 17, 2008
Mark Rivers University of Chicago
EPICS MCA and Canberra Support
Using EPICS for Beamline Control and Data Acquisition
LCLS Commissioning & Operations High Level Software
synApps status and plans
Getting Started with EPICS A lecture Series
synApps status and plans
Getting Started with EPICS Applications / Special Topics
EPICS: Experimental Physics and Industrial Control System
GeoSoilEnviroCARS The University of Chicago
Presentation transcript:

EPICS at APS Beamlines Tim Mooney Advanced Photon Source Argonne National Laboratory

EPICS applications for synchrotron beamlines (synApps) Standard EPICS base & extensions Standard EPICS modules (e.g., MPF) synApps modules (std, motor, MCA) synApps-compatible clients (e.g., scan-data display) synApps overview

synApps Custom EPICS records Custom EPICS device-support modules Other custom infrastructure (e.g., autosave, recDynLink, saveData) Custom EPICS databases, MEDM displays Custom clients (e.g., scanSee) Matched to a version of EPICS base synApps overview

Just to clarify… We didn’t write everything in synApps One function of synApps is to bundle compatible versions of selected EPICS software – wherever developed – into a single tar file that can easily be built and configured to run ~80% of a beamline Second function is to provide generic tools that have proven themselves useful in the development of custom support synApps overview

Basic record/device support Motor Scaler Multichannel analyzer Multichannel scaler Serial (RS-232) GPIB ADC’s DAC’s Encoders Optical table String calc, sequence Complex expressions Enhanced PID Scan Scan parameter Generic VME synApps overview

Layered devices, techniques (databases, SNL programs, …) Optical tables Slits Mirrors Monochromators Piezo controller Digital Multimeter Current preamplifier Interpolation N-step measurement Serial I/O block GPIB I/O block Autocollimator Temperature controller X-ray microscope Insertion device Filter/shutter synApps overview

Other support Autosave (save parameters through reboot) saveData (store scan data to disk) Clients to display scan/MCA data Programs to handle MDA, NeXus data files recDynLink (adds notify-when-done link) –used by sscan, swait records synApps overview

Motors Stepper, servo Oregon Microsystems Newport Intelligent Motion Systems McClennan Soft support synApps overview

Scalers Multiple preset scalers Background count interrupted by data- acquisition count User-programmable end calculations Joerger, Struck hardware synApps overview

Multichannel analyzer Canberra AIM XIA DXP 32 regions of interest Halt acquisition on ROI preset Background subtraction for ROI sums Also supports sampling ADC (Acromag IP-330) synApps overview

Serial O/I Block Combination of –string calc to construct output message –serial record to send and/or receive –string calc to parse reply Intended for run-time programming Similar GPIB support synApps overview

Optical table 5/6-motor optical table User specifies point about which table rotates Exact virtual-to-motor and motor-to-virtual Specific geometries (adding a new geometry is hard) synApps overview

Monochromators Nondispersive (standard) Dispersive (high resolution) –Nested, in-line Spherical grating (low energy) synApps overview

Miscellaneous Slit Sample Wheel 4-step measurement synApps overview

String Expressions Extends CALC record to combine string and numeric expressions Useful for run-time programming of serial devices EPICS links are programmable at run time synApps overview

Scans Multidimensional 4 positioners, 4 detector triggers, 70 signals saveData client writes to NFS disk Can acquire arrays (e.g., MCA spectra) ~300 Hz on MV162 Start/end, table, on-the-fly Also for 1-dimensional automated alignment synApps overview

Clients MCA display (IDL program) scanSee (IDL program for 1D, 2D, 3D data) Plot.py (Python demonstration) PVMail (send when PV value violates boundary) Misc. experiment- specific user interfaces in tcl/tk, python/tk, Igor, IDL, java Channel Archiver BackUp/Restore Tool StripTool (strip chart) … synApps overview

Autosave/restore Saves PV values (e.g., motor positions, scan config) through reboot Defends against crash during save operation Typically 80 values saved every 5 s, 3000 values every 30 s Include files Macro substitution Dated backups Choose save/restore directories Request-file path –Can put request files in same directory as database files synApps overview

CCD support CA server on CCD’s native platform Calls vendor-supplied software Stores images to local disk (HDF format) Some simple image analysis Hosts EPICS PV’s for control

String calculations Operators >? and <? (max, min) –Example: A<?B Variable # of args for MAX, MIN functions –Example: MAX(A,B,C,MIN(D,E)) Much faster that previous versions –Numeric op’s are 1-4  s (~10%) slower than calcPerform (on MV162) –(compare to ~4  s added for isnan/isinf check) No memory fragmentation Recent progress

Save_restore request-file path Can put standard request files with databases –Database developer writes default request file –Easy version control Can override a standard request file with a local copy (at any include level) Recent progress

Conversion to 3.14 In progress, collaborators: –Mark Rivers (CARS-CAT) –Jens Eden (BESSY) –Kate Feng (NSLS) –Till Straumann (SLAC) Most of synApps compiles at least, some has been tested, some is even OSI Recent progress

Python tools We use caPython –Geoff Savage (FNAL) mcaDisplay.py mcaPeakFit.py –Mark Rivers (CARS) plot.py Recent progress

For more information: cars.uchicago.edu/gsecars/index.html