1 BROOKHAVEN SCIENCE ASSOCIATES EPICS Version 4 – Development Plan V4 Team – presented by Bob Dalesio EPICS Meeting October 7, 2011.

Slides:



Advertisements
Similar presentations
Guobao Shen BNL Services Guobao Shen
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.
SNS Integrated Control System SNS RDB Requirements, wish list, status A little history l Oracle RDB used exclusively by accelerator physics group l JERI.
1 1999/Ph 514: Channel Access Concepts EPICS Channel Access Concepts Bob Dalesio LANL.
1 BROOKHAVEN SCIENCE ASSOCIATES EPICS V4 Support to Physics Application, Data Acquisition, and Data Analysis L. Dalesio, Gabriele Carcassi, Martin Richard.
EPICS V4/areaDetector Integration
0 BROOKHAVEN SCIENCE ASSOCIATES Middle Layer Services at NSLS II for Beam Commissioning and Operation Guobao Shen Controls Group, Photon Sciences Brookhaven.
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)
Jeffrey Hill.  LANSCE Requirements – a Review  EPICS Paradigm Shift – a Review  Status – What is Implemented  What is an Abstract Data Type?  Benefits.
0 BROOKHAVEN SCIENCE ASSOCIATES NSLS II Physics Application and its Open Architecture Guobao Shen Controls Group, Photon Sciences Brookhaven National Laboratory.
Pete Owens MICE Controls & Monitoring Workshop 25th September 2006 MICE Control and Monitoring: General Architecture Subsystem Integration User Interface.
Hamid Shoaee High Level Physics 20 April 2006 High Level Physics Applications Update on Plans, New Directions Fairley,
Agenda Adaptation of existing open-source control systems from compact accelerators to large scale facilities.
1 BROOKHAVEN SCIENCE ASSOCIATES Control System Overview Bob Dalesio, Control Group Leader 8 th ASAC meeting for NSLS-II Project May 10-11, 2011.
Data Acquisition at the NSLS II Leo Dalesio, (NSLS II control group) Oct 22, 2014 (not 2010)
JavaIOC Marty Kraimer EPICS Collaboration Meeting ICALEPCS October
Archive Engine for Large Data Sets Nikolay Malitsky EPICS Collaboration Meeting San Francisco, USA October 5, 2013.
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.
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.
BROOKHAVEN SCIENCE ASSOCIATES High level applications and EPICS control GUOBAO SHEN NSLS-II, Control Group May 4 th, 2009.
Update on a New EPICS Archiver Kay Kasemir and Leo R. Dalesio 09/27/99.
MASAR Service Guobao Shen Photon Sciences Department Brookhaven National Laboratory EPICS Collaboration Workshop Oct 05, 2013.
1 Channel Access Concepts – EPICS Training – K.Furukawa – Mar EPICS Channel Access Concepts Kazuro Furukawa, KEK, ( ) (Bob Dalesio, LANL,
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.
Final Review of ITER PBS 45 CODAC – PART 1 – 14 th, 15 th and 16 th of January CadarachePage 1 FINAL DESIGN REVIEW OF ITER PBS 45 CODAC – PART 1.
XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser Matthias Clausen, DESY XFEL Refrigerator Controls – April CSS Core Applications.
Wir schaffen Wissen – heute für morgen Paul Scherrer Institut EPICS V4 Archiver Service and Matlab client Timo Korhonen.
ACNET to EPICS Meeting SNS Device DB Tools J. Patrick November 4, 2008.
1 BROOKHAVEN SCIENCE ASSOCIATES Control System Overview Bob Dalesio, Control Group HLA Review for NSLS-II Project April
EPICS EPICS Limitations Bob Dalesio Marty Kraimer.
Data Types written by Gabriele Carcassi performed by Bob Dalesio based on ideas/requirements from Bob Dalesio, Kay Kasemir, Ralph Lange, James Roland,
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.
1 BROOKHAVEN SCIENCE ASSOCIATES EPICS Version 4 – Development Plan V4 Team – presented by Bob Dalesio EPICS Meeting October 12, 2010.
BROOKHAVEN SCIENCE ASSOCIATES Enhanced Directory Service Ralph Lange EPICS Collaboration Meeting October 11, 2009.
Russian Particle Accelerator Conference, – 03.10, 2008 Nikolay Malitsky Brookhaven National Laboratory
EPICS Release 3.15 Bob Dalesio May 19, Features for 3.15 Support for large arrays Channel access priorities Portable server replacement of rsrv.
1 BROOKHAVEN SCIENCE ASSOCIATES High Level Applications Infrastructure and Current Status Guobao Shen, Lingyun Yang* Controls Group & Accelerator Physics.
B. Dalesio, N. Arnold, M. Kraimer, E. Norum, A. Johnson EPICS Collaboration Meeting December 8-10, 2004 Roadmap for IOC.
Add the name of your meeting/conference, the location and date Page 1 EPICS Collaboration Meeting Spring 2010 – Aix-en-Provence Highlights Franck Di Maio,
1 Channel Access Concepts – IHEP EPICS Training – K.F – Aug EPICS Channel Access Concepts Kazuro Furukawa, KEK (Bob Dalesio, LANL)
ICS WP3 – Software Core Components Suzanne Gysin Work Package Lead November 25, 2014.
ChannelFinder & CSS Kunal Shroff EPICS Fall Collaboration Meeting, October 2011 PSI.
1 BROOKHAVEN SCIENCE ASSOCIATES EPICS Version 4 – Normative V4 Team – presented by Bob Dalesio EPICS Meeting October 7, 2011.
Introduction to Control System Studio (CSS) Kay Kasemir, Kunal Shroff EPICS Fall Collaboration Meeting, October 2011 PSI.
SNS Integrated Control System ORACLE –JERI DB Generation April 27, 2004 Coles Sibley Jeff Patton.
Control System Tools for Beam Commissioning Timo Korhonen Controls Division Chief Engineer April 8, 2014.
Version 4 Charter – Discussion Bob Dalesio Greg White.
LCLS Commissioning & Operations High Level Software
Presented by Li Gang Accelerator Control Group
Andrew Johnson and Eric Norum AES Controls Group, Argonne
Relational Database Collaboration
ChannelFinder Directory Service
Prototyping the Next EPICS Archiver
LCLS Commissioning & Operations High Level Software
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
EPICS IOCs – Relational DB
Channel Access Concepts
pvData,pvAccess,pvIOC,pvService Overview and Status EPICS Meeting
Banafsheh Hajinasab Based on presentation by K. Strnisa, Cosylab
EPICS 7 Matej Sekoranyja, Marty Karimer, Michael Davidsaver, Ralph Lange, Andrew Johnson, Timo Korhonen, Heinz Junkes, Patrick Marschalik, Murali Shankar,
Channel Access Concepts
TANGO from an EPICS perspective
Presentation transcript:

1 BROOKHAVEN SCIENCE ASSOCIATES EPICS Version 4 – Development Plan V4 Team – presented by Bob Dalesio EPICS Meeting October 7, 2011

2 BROOKHAVEN SCIENCE ASSOCIATES Outline Version 3 recap Version 4 High Level Application Architecture Normative Data Types Conclusions

3 BROOKHAVEN SCIENCE ASSOCIATES Version 3 – brief history Started at GTA in 1985 at LANL as a tool set used to develop a space based accelerator. Developed core: channel access and process database, SNL, EDD/DM, save/restore, archive. In 1989 several international and domestic labs showed interest to use it. Collaboration made with APS. EPICS release shows up in 1991 with process database rewritten to clarify the interface to hardware and new record types. Channel access continues to mature. Data types in Channel Access stay the same. Record structure stays the same – flat records with metadata in an imperfect state. The metadata for alarm, display, and control provide good interface for engineer clients Limitations on large data sets reflected in limited applications and creative use of waveform record. Successfully applied to many applications (warts and all) proving the concept Produced 124 man years of useful software – which is 10% or less of what was actually written.

4 BROOKHAVEN SCIENCE ASSOCIATES Version 4 – less code waste (so far) Started at Marty’s home in 2005 as a tool set used to develop a device based control. Developed core: PV access and Java IOC. In 2009 several international and domestic labs showed interest to use it. Collaboration made with BNL, Diamond, and PSI. V4 release shows up in 2011 with PV database unused BUT with PVData and new Normative Types.. PVAccess continues to mature. Data types in PVData start to reduce to a standard supported set. Record structure stays the same – flat. Hierarchical records not put to use yet. We hope that the metadata for arrays, tables, statistics, and images, provide good interface for engineer clients Limitations on large data sets is being removed and applications are being developed that take advantage of the new data types. Client applications for these data types demonstrated in CSS. Early middle layer servers are developed and evolving. Produced 5 man years of useful software – which is 50% of what was written. Matej's specification is at which is available from the EPICS V4 homepage at:

5 BROOKHAVEN SCIENCE ASSOCIATES EPICS Version 3 Architecture Distributed Front-Ends MMLT Client Physical Device Ethernet Production HLA Client CAC Control System Studio CAC Diag Database CAS Physical Device PS Database CAS Physical Device RF Database CAS Physical Device Vac Database CAS Physical Device Util Database CAS Matlab, SDDS, Python CAC Diamond Simulation Diag & PS CAS Channel Archiver CAC Data Types: Dbr_Time_(Double, Enum, Long, String) time stamp, alarm status, alarm severity Dbr_Ctrl_(Double, Enum, Long, String) above plus display, alarm, and control parameters Also arrays – one dimension that were overloaded for everything else such as images in areaDetector

6 BROOKHAVEN SCIENCE ASSOCIATES PV Manager Aggregates V3 into V4 Types Distributed Front-Ends MMLT Client Physical Device Ethernet Production HLA Client CAC Control System Studio CAC Diag Database CAS Physical Device PS Database CAS Physical Device RF Database CAS Physical Device Vac Database CAS Physical Device Util Database CAS Matlab, SDDS, Python CAC Diamond Simulation Diag & PS CAS Channel Archiver CAC PVManager XML/HTTP Channel Finder Svr SQL RDB CFCCFC

7 BROOKHAVEN SCIENCE ASSOCIATES V4 Serves V3 Data Types Distributed Front-Ends MMLT Client Physical Device Ethernet Production HLA Client CAC Control System Studio CAC Diag Database CAS Physical Device PS Database CAS Physical Device RF Database CAS Physical Device Vac Database CAS Physical Device Util Database CAS Matlab, SDDS, Python CAC Diamond Simulation Diag & PS CAS Channel Archiver CAC PVManager XML/HTTP Channel Finder Svr SQL RDB CFCCFC PVAS

8 BROOKHAVEN SCIENCE ASSOCIATES Orbit Service Uses Multi-Channel Arrays Distributed Front-Ends MMLT Client Physical Device Ethernet Production HLA Client CAC Control System Studio CAC Diag Database CAS Physical Device PS Database CAS Physical Device RF Database CAS Physical Device Vac Database CAS Physical Device Util Database CAS Matlab, SDDS, Python CAC Diamond Simulation Diag & PS CAS Channel Archiver CAC PVManager XML/HTTP Channel Finder Svr SQL RDB CFCCFC PVAC PVAS Gather Service CAC Xml/http Serves orbit, magnets, any array of channels

9 BROOKHAVEN SCIENCE ASSOCIATES Archiver Modified to Support V4 Distributed Front-Ends MMLT Client Physical Device Ethernet Production HLA Client CAC Control System Studio CAC Diag Database CAS Physical Device PS Database CAS Physical Device RF Database CAS Physical Device Vac Database CAS Physical Device Util Database CAS Matlab, SDDS, Python CAC Diamond Simulation Diag & PS CAS Channel Archiver CAC PVManager XML/HTTP Channel Finder Svr SQL RDB CFCCFC PVAC PVAS Gather Service CAC Xml/http Serves orbit, magnets, any array of channels PVAC

10 BROOKHAVEN SCIENCE ASSOCIATES Connect CSS to V4 with Channel Finder Svc Distributed Front-Ends MMLT Client Physical Device Ethernet Production HLA Client CAC Control System Studio CAC Diag Database CAS Physical Device PS Database CAS Physical Device RF Database CAS Physical Device Vac Database CAS Physical Device Util Database CAS Matlab, SDDS, Python CAC Diamond Simulation Diag & PS CAS Channel Archiver CAC PVManager PVAS Channel Finder Svr SQL RDB PVAC PVAS Gather Service CAC Serves orbit, magnets, any array of channels PVAC IRMIS Serves Alignment Magnet Conv PVAC

11 BROOKHAVEN SCIENCE ASSOCIATES Use PVManager as a V4 Service Distributed Front-Ends MMLT Client Physical Device Ethernet Production HLA Client CAC Control System Studio CAC Diag Database CAS Physical Device PS Database CAS Physical Device RF Database CAS Physical Device Vac Database CAS Physical Device Util Database CAS Matlab, SDDS, Python CAC Diamond Simulation Diag & PS CAS Channel Archiver CAC PVManager XML/HTTP Channel Finder Svr SQL RDB PVAC PVAS Serves orbit, magnets, any array of channels PVAC PVAS PVManager Service CAC Serves Tables Mutti-channel arrays Statistics PVAS Gather Service CAC PVAC

12 BROOKHAVEN SCIENCE ASSOCIATES Provide Configuration Data as V4 Service Distributed Front-Ends MMLT Client Physical Device Ethernet Production HLA Client CAC Control System Studio CAC Diag Database CAS Physical Device PS Database CAS Physical Device RF Database CAS Physical Device Vac Database CAS Physical Device Util Database CAS Matlab, SDDS, Python CAC Diamond Simulation Diag & PS CAS Channel Archiver CAC PVManager XML/HTTP Channel Finder Svr SQL RDB PVAC PVAS Gather Service CAC Serves orbit, magnets, any array of channels PVAC PVAS PVManager Service CAC Serves Tables Mutti-channel arrays Statistics PVAS Configuration Data SQL IRMIS Serves Alignment Magnet Conv PVAC

13 BROOKHAVEN SCIENCE ASSOCIATES Build Application Specific Services Distributed Front-Ends MMLT Client Physical Device Ethernet Production HLA Client CAC Control System Studio CAC Diag Database CAS Physical Device PS Database CAS Physical Device RF Database CAS Physical Device Vac Database CAS Physical Device Util Database CAS Matlab, SDDS, Python CAC Diamond Simulation Diag & PS CAS Channel Archiver CAC PVManager PVAS Channel Finder Svr SQL RDB PVAC PVAS Gather Service CAC Serves orbit, magnets, any array of channels PVAC PVAS PVManager Service CAC Serves Tables Mutti-channel arrays Statistics PVAS Configuration Data SQL IRMIS Serves Alignment Magnet Conv PVAC UnitConv., Bump, etc.. PVAS PVAC

14 BROOKHAVEN SCIENCE ASSOCIATES Create a V4 Archive Server Distributed Front-Ends MMLT Client Physical Device Ethernet Production HLA Client CAC Control System Studio CAC Diag Database CAS Physical Device PS Database CAS Physical Device RF Database CAS Physical Device Vac Database CAS Physical Device Util Database CAS Matlab, SDDS, Python CAC Diamond Simulation Diag & PS CAS Channel Archiver View PVManager PVAS Channel Finder Svr SQL RDB PVAC PVAS Gather Service CAC Serves orbit, magnets, any array of channels PVAC PVAS PVManager Service CAC Serves Tables Mutti-channel arrays Statistics PVAS Configuration Data SQL IRMIS Serves Alignment Magnet Conv PVAC UnitConv., Bump, etc.. PVAS PVAC PVAS Archive retrieval XML/RPC Channel Archiver

15 BROOKHAVEN SCIENCE ASSOCIATES Version 4 – First Deployment Distributed Front-Ends MMLT Client Physical Device Ethernet Production HLA Client CAC Diag Database CAS Physical Device PS Database CAS Physical Device RF Database CAS Physical Device Vac Database CAS Physical Device Util Database CAS Matlab, SDDS, Python CAC Diamond Simulation Diag & PS CAS Channel Archiver View PVManager PVAS Channel Finder Svr SQL RDB PVAC PVAS Gather Service CAC PVAC PVAS PVManager Service CAC PVAS Configuration Data SQL IRMIS PVAC UnitConv., Bump, etc.. PVAS PVAC Distributed Middle Layer Services Clients PVAS Archive retrieval XML/RPC Channel Archiver Control System Studio

16 BROOKHAVEN SCIENCE ASSOCIATES Normative Data Types - General typeIdentifier typeIdentifier is a long whose bitfield value is used to uniquely identify a PVStructure instance as an example of a data type. The first 16 bits (of 64) are reserved to identify the normative types. The following control types are defined as structures of atomic types, and encoded as PVStructure. structure enum_t members:int index, string[] choices structure timeStamp_t members:long secsPastEpoch, int nanoseconds, int userTag structure alarm_t members:int severity*, int status*, string message structure nameValuePair_t members: string name, string value *severity is defined as an int (not an enum_t), but should be functionally interpreted only as the enumeration {NONE, MINOR, MAJOR, INVALID, UNDEFINED } *status is defined as an int (not an enum_t), but should be functionally interpreted only as the enumeration {NONE, DEVICE, DRIVER, RECORD, DB, CONF, UNDEFINED, CLIENT }

17 BROOKHAVEN SCIENCE ASSOCIATES Specific Normative Data Types NTMultichannelArray – represent a collection of single values as an ordered array e.g. all of the temperatures along a beam line or the Australian Synch’s Concatenate Record used on AI’s NTTimeDomainArray e.g. a scope trace from a digitizer or the Circular Buffer in the Compress Record NTHistograme.g. information on a 60 Hz power supply RB posted every hour or the Histogram in the Compress Record NTNDArraye.g. multiple frames of a detector taken at 1 KHz for 1 second NTFrequencyDomainArray e.g. FFT of 10 KHz data taken for 1 second to study noise frequencies or FFT record output NTStatistice.g. any data being compressed from its original rate – fast sampling in hardware to EPICS DB, new function on any database waveform, response from a request to an archive server NTImagee.g. image data being collected at a detector into the areaDetactor application NTTablee.g. a way to return any list of values or collection of name, value pairs of different data type such as twiss parameters or the metadata for a camera set up: filter, exposure time, camera used, etc… This is the catch all data type that can define a structure of single values or arrays (of the same length) NTChannelFinderDirectory e.g. returned as an ordered list of PVs from a query to a directory service to populate a multi-channel array or table

18 BROOKHAVEN SCIENCE ASSOCIATES Users and developers using EPICS V4 are not precluded from defining their own special purpose types Only the normative types defined above, are guaranteed to be understood by EPICS V4 services and clients. Non-normative types can take a chunk of the remaining 48 bits in typeIdentifier to register these types for their specially written servers and clients. Version 4 PVData and PVAccess fully support this. Non-Normative Data Types

19 BROOKHAVEN SCIENCE ASSOCIATES Conclusions The interfaces is intended to allow us to create a standard client/server the architecture for applications such as: areaDetector, Matlab Middle Layer Toolkit, SDDS, XAL, GDA, MDS+ NSLSII is committed to apply this technology to physics applications. Low level applications are not yet being developed in Java IOC We are in the stage of development most similar to the transition from GTACS to EPICS (early, immature, risky, changeable, fun, and challenging). New structures are easy to create – but we plan to carefully limit these to general and useful normative types. (Read “restricted set”)