ORNL is managed by UT-Battelle for the US Department of Energy EPICS V4 for SNS Neutron Data Kay Kasemir Oct. 2014.

Slides:



Advertisements
Similar presentations
Managed by UT-Battelle for the Department of Energy Best Ever Archive Utility, Yet (BEAUtY) Kay Kasemir April 2013.
Advertisements

V4 Status and Workshop Report CSS, DISCS, an V4 team.
Paul Chu FRIB Controls Group Leader (Acting) Service-Oriented Architecture for High-level Applications.
Control System Studio (CSS) Data Access Layer (DAL) Kay Kasemir, Xihui Chen July 2009.
Managed by UT-Battelle for the Department of Energy Xihui Chen, Kay Kasemir ORNL/SNS April 2013 at IHEP Control System Studio Setup - Hierarchical.
EPICS V4/areaDetector Integration
PvData,pvAccess,pvIOC,pvService Status EPICS Meeting June 2011 NSRRC,Hsinchu, Taiwan Marty Kraimer, Guobao Shen, and Matej Sekoranja.
EPICS Architecture Version 3 Channel Access Client (CAC) Connection Data Transfers WAN/LAN/Local Connection Data Transfers Channel Access Server (CAS)
Controls Group New Channel Access Nameserver Joan Sage 12/4/01.
PvData,pvAccess,javaIOC,pvService Status EPICS Meeting Aix-en-Provence, France Marty Kraimer, Guobao Shen, and Matej Sekoranja.
AreaDetector Data Processing Pipeline In EPICS V4 Dave Hickin Diamond Light Source EPICS Collaboration Meeting Diamond Light Source 01/05/2013.
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.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS April 2013 Control System Studio Training - Workspaces, Shared.
ORNL is managed by UT-Battelle for the US Department of Energy EPICS State Notation Language (SNL), “Sequencer” Kay Kasemir, SNS/ORNL Many slides from.
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.
Channel Archiver Stats & Problems Kay Kasemir, Greg Lawson, Jeff Patton Presented by Xiaosong Geng (ORNL/SNS) March 2008.
ORNL is managed by UT-Battelle for the US Department of Energy Control System Studio: Overview Kay Kasemir, SNS/ORNL June 2014.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2012, April at SLAC Control System Studio - Introduction.
SC84, Epics C# Library Written by Christoph Seiler Presented by Dirk Zimoch.
ORNL is managed by UT-Battelle for the US Department of Energy Control System Studio: BOY Kay Kasemir ORNL/SNS A lot of material from.
1 BROOKHAVEN SCIENCE ASSOCIATES EPICS Core (and other development efforts) L. Dalesio. EPICS April 25, 2013.
1 BROOKHAVEN SCIENCE ASSOCIATES NSLSII Physics Applications – Applying V4 The Control Group – presented by Bob Dalesio Taiwan EPICS Meeting, June 2011.
‘ActiveX’ CA Server (… and Client) Oct Kay-Uwe Kasemir, LANL.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Oct EPICS Meeting, PAL, Korea Control System Studio Training.
Control System Studio (CSS) Overview Kay Kasemir, July 2009.
The CSS Scan System Kay-Uwe Kasemir SNS/ORNL Dec
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Feb Material copied from the IOC Application Developer's.
ORNL is managed by UT-Battelle for the US Department of Energy EPICS Automation Kay Kasemir, SNS/ORNL June 2014.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Oct EPICS Meeting, PAL, Korea Control System Studio Training.
Wir schaffen Wissen – heute für morgen Gateway (Redux) PSI - GFA Controls IT Alain Bertrand Renata Krempaska, Hubert Lutz, Matteo Provenzano, Dirk Zimoch.
New Features in EPICS V4 Release 4.4 EPICS Meeting 2014, CEA, October 2014 Marty Kraimer, Matej Sekoranja.
Archive Service Nikolay Malitsky October 2, 2013.
MASAR Server & Application Guobao Shen Photon Sciences Department Brookhaven National Laboratory Collaboration Working Group Oct 02, 2013.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Jan Control System Studio, CSS Overview.
EPICS for Neutron Scattering Beam Lines Steven Hartman EPICS Meeting, 2 May 2013.
ORNL is managed by UT-Battelle for the US Department of Energy CS-Studio PVTable and Autosave Kay Kasemir Oct
Wir schaffen Wissen – heute für morgen Paul Scherrer Institut EPICS V4 Archiver Service and Matlab client Timo Korhonen.
(Java) CA Client Libraries Status Matej Šekoranja
15/06/2006 The Future of Visual DCT EPICS Collaboration 2006 Argonne National Laboratory
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS With slides from Xihui Chen May 2014 Control System Studio Training.
Writing a Channel Access Client in EPICS Bob Dalesio, April 5, 2000.
Writing a Channel Access Client in EPICS Bob Dalesio, April 5, 2000.
Managed by UT-Battelle for the Department of Energy CSS Update Matthias Clausen, Helge Rickens, Jan Hatje and DESY Delphy Armstrong, Xihui Chen,
WebOPI -Bring BOY OPI to the Web and Mobile Xihui Chen, Kay Kasemir Spring 2012 EPICS Meeting.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2012, January 9-12 at NSRRC, Taiwan Control System Studio Training.
1 1999/Ph 514: Flow of Control EPICS Flow of Control Marty Kraimer APS.
Experimental Facilities Division ORNL DAQ System Interfaces Neutron Science Software Workshop Oct 13, 2003 Rick Riedel.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2012, January 9-12 at NSRRC, Taiwan Control System Studio Training.
PvaPy: Python API for EPICS PV Access Siniša Veseli Scientific Software Engineering & Data Management Advanced Photon Source EPICS Meeting October 2015.
1 EPICS Flow of Control: EPICS Workshop at IHEP, Beijing, August 2001 EPICS Flow of Control Marty Kraimer APS.
Control System Overview J. Frederick Bartlett Fermilab June 1,1999.
Controls Group New Channel Access Nameserver Presented by Karen White for Joan Sage.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS May 2014 Control System Studio Training - Hierarchical Preferences.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2012, April at SLAC Control System Studio Training - Alarm System.
ORNL is managed by UT-Battelle for the US Department of Energy EPICS on SNS Instruments Matt Pearson SNS ORNL 18 th - 22 nd May 2015.
Implementation and Testing of RDB Channel Archiver with MySQL Richard Ma, DePauw University Supervisor: Richard Farnsworth, Argonne National Laboratory.
An Introduction to Epics/Tango Steve Hunt Alceli EPICS Meeting 2008 INFN Legnaro 15 Oct 17:15.
ORNL is managed by UT-Battelle for the US Department of Energy Status Report: Data Acquisition and Instrument Controls for the Spallation Neutron Source.
Managed by UT-Battelle for the Department of Energy Quest for the Best Ever Alarm System Tool Kay Kasemir Oct
Best Ever Alarm System Toolkit Kay Kasemir, Xihui Chen, Katia Danilova, SNS/ORNL ICALEPCS 2009, Kobe, Japan, Oct 2009.
BOY, A Modern Graphical Operator Interface Editor and Runtime Xihui Chen, Kay Kasemir RAD Control Group.
ORNL is managed by UT-Battelle for the US Department of Energy ADnED Handling V4 Neutron Event Data Matt Pearson SNS ORNL 18 th -22 nd May 2015.
EPICS Version 4 Abstract:
SLAC USA Marty Kraimer and Matej Sekoranja
pvData,pvAccess,pvIOC,pvService Overview and Status EPICS Meeting
pvData,pvAccess,pvIOC,pvService Overview and Status EPICS Meeting
pvData,pvAccess,pvIOC,pvService Overview and Status EPICS Meeting
EPICS 7 Matej Sekoranyja, Marty Karimer, Michael Davidsaver, Ralph Lange, Andrew Johnson, Timo Korhonen, Heinz Junkes, Patrick Marschalik, Murali Shankar,
Java Channel Access Client and Server Library - status
Presentation transcript:

ORNL is managed by UT-Battelle for the US Department of Energy EPICS V4 for SNS Neutron Data Kay Kasemir Oct. 2014

2 Basic Idea: V4 for Raw Neutron Data Neutron Detector Data Collection Nexus File Neutron Stats Neutron Count, XY Histogram, Time-of-Fight Histogram Neutron Stats Neutron Count, XY Histogram, Time-of-Fight Histogram { pixel, time-of-flight } User Display CS-Studio User Display CS-Studio Experiment Control IOCs, pcaspy, ScanServer Experiment Control IOCs, pcaspy, ScanServer Channel Access n n

3 “V4” pvData – Structured Data –Java, C++ –Normative Types: Structs w/ time, alarm,.. pvAccess – Network protocol –Similar to CA Search via UDP 5076 Connect by default on TCP 5075 –Server decides on byte order –Partial transfers, whatever client requests –Clever ‘size’: 1 byte if <255, … Active development, protocol freeze in Oct. 2014

4 Orig. SNS neutron network protocolV4 pvData, pvAccess ‘events’ via UDP broadcast to any number of listeners ‘monitors’ via TCP to 2-3 listeners Protocol documented in codeProtocol documented in specification Custom MS Visual C++ code took years to get stable Java, portable C++, python code with wider developer and user base No ‘debug’ toolspvinfo, pvget, CSS Probe, … Clients receive neutron eventsClients can see last (=stale) value, then new events Can put anything into network packageNeed to fit into pvData

5 SNS Neutron Data uint64 eventID uint64 pulseID // timeStamp double protonCharge struct { uint32 time_of_flight uint32 pixel } events[]

6 SNS Neutron Data as pvData Structure // Time stamp for all; // eventID in.userTag time_t timeStamp NTScalar protonCharge double value NTScalarArray time_of_flight uint[] value NTScalarArray pixel uint[] value NTScalarArray position_x uint[] value.. a few more optional elements

7 What you get for free

8 Tests Server that generates fake neutron events –Similar to pvDatabaseCPP example –Can run standalone or in V3 IOC “pvget –m” for initial tests –Hit CPU limit because of string formatting Custom client –Tests for missing ‘event ID’ Results: –Saturating 1GB network around 15M SNS events/sec 100 updates/sec, each with events 1 ‘event’  T.o.F + pixel  8 bytes, and indeed about 8 b/evt on network!! –On 10GB network 100M SNS events/sec w/o problems Limit was CPU load, not network –Required for SNS: 10M events/sec?

9 Plan Neutron Detector EPICS IOC, “nED” driver w/ pvAccess srv Data Collection pvAccess client Area Detector “ADnED” pvAccess client, XY Pixel Histogram, Time-of-flight histogram, std. ROI, Array, … plugins Area Detector “ADnED” pvAccess client, XY Pixel Histogram, Time-of-flight histogram, std. ROI, Array, … plugins pvAccess n n User Display CS-Studio User Display CS-Studio Experiment Control IOCs, pcaspy, ScanServer Experiment Control IOCs, pcaspy, ScanServer

10 Looking Good! + Can package data in flexible ways + Already have network tools to inspect, monitor + Performance is good + Community of developers and users Thanks to Matej Sekoranja, Marty Kraimer, David Hickin for fast bug fixes and help