EPICS sequencer update Greg White / William Lupton / EPICS ‘99 SLAC, May 27, 1999.

Slides:



Advertisements
Similar presentations
January 2009EPICS Seminar in Indore1 Introduction to State Notation Language (SNL) Tatsuro KEK January 2009.
Advertisements

Experimental Physics and Industrial Control System (EPICS) Sequencer and State Notation Language Tutorial Slides Bob Dalesio, Deb Kerstiens, Rozelle Wright.
EPICS Base R and beyond Andrew Johnson Computer Scientist, AES Controls Group.
The eCos real-time operating system an open source tool to create embedded kernels and applications.
Chapter 5 Processes and Threads Copyright © 2008.
1 Introducing Collaboration to Single User Applications A Survey and Analysis of Recent Work by Brian Cornell For Collaborative Systems Fall 2006.
DBA Meeting December Supporting the MINOS MySQL Database at FNAL Nick West.
F2032 Fundamental of OS Chapter 1 Introduction to Operating System Part 4.
Systems Analysis and Design in a Changing World, 6th Edition
Systems Analysis I Data Flow Diagrams
John Sinclair Oak Ridge National Laboratory
Introduction to High-Level Language Programming
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.
12.
SNL and Sequencer 1 Controls EPICS Training Class EPICS Collaboration Meeting SLAC State Notation Language (SNL) and Sequencer April 23, 2012 Kukhee.
Database Design with VisualDCT Nicholas Di Monte.
Testing. Definition From the dictionary- the means by which the presence, quality, or genuineness of anything is determined; a means of trial. For software.
1 1999/Ph 514: State Notation Language EPICS State Notation Language (SNL) Ned D. Arnold APS.
1 2001: Beijing State Notation Language EPICS State Notation Language (SNL) Ned D. Arnold APS (Ron Chestnut SLAC)
Process Management. Processes Process Concept Process Scheduling Operations on Processes Interprocess Communication Examples of IPC Systems Communication.
CANADA’S NATIONAL LABORATORY FOR PARTICLE AND NUCLEAR PHYSICS Owned and operated as a joint venture by a consortium of Canadian universities via a contribution.
1 SNL Current State (in transition state) By Matthias Clausen Ron Chestnut.
Windows XP. History Windows XP is based on the NT kernel developed in 1988 Windows XP is based on the NT kernel developed in 1988 XP was originally sold.
Progress with migration to SVN Part3: How to work with g4svn and geant4tags tools. Geant4.
Use of Coverity & Valgrind in Geant4 Gabriele Cosmo.
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.
Release Management Configuration management. Release Management Goal Coordinate the processes through the project development life cycle Ensure the.
Operating System What is an Operating System? A program that acts as an intermediary between a user of a computer and the computer hardware. An operating.
Module 6: Debugging a Windows CE Image.  Overview Debug Zones IDE Debug Setup IDE Debug Commands Platform Builder Integrated Kernel Debugger Other Debugging.
3.14 Work List IOC Core Channel Access. Changes to IOC Core Online add/delete of record instances Tool to support online add/delete OS independent layer.
15/06/2006 The Future of Visual DCT EPICS Collaboration 2006 Argonne National Laboratory
© 2002 IBM Corporation Confidential | Date | Other Information, if necessary June, 2011 Made available under the Eclipse Public License v Mobile.
1 EPICS Bus Errors & Power PC u VME Bus Error can generate a Machine Check Exception (MCE) u The WRS mv2700 BSP doesn’t have code to do this u Write cycles.
Managed by UT-Battelle for the Department of Energy EPICS Sequencer Kay Kasemir, SNS/ORNL Many slides from Andrew Johnson, APS/ANL Feb
Lecture 8 Page 1 CS 111 Online Other Important Synchronization Primitives Semaphores Mutexes Monitors.
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,
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.
Stanford Linear Accelerator Center New SNL Ideas Possible Next Steps Ron Chestnut – PSI, May, 2001 With ideas from B. Dalesio and M. Clausen.
1 EPICS EPICS Base 3.13 and 3.14 Status and License IHEP August 2002 Marty Kraimer and Andrew Johnson.
Threaded Programming Lecture 2: Introduction to OpenMP.
U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science Computer Systems Principles Synchronization Emery Berger and Mark Corner University.
Chapter 5 - Interrupts.
EPICS Release 3.15 Bob Dalesio May 19, Features for 3.15 Support for large arrays Channel access priorities Portable server replacement of rsrv.
Jan Hatje, DESY CSS – Control System Studio EPICS collaboration meeting CSS – Control System Studio Update EPICS collaboration meeting 2008 Shanghai.
B. Dalesio, N. Arnold, M. Kraimer, E. Norum, A. Johnson EPICS Collaboration Meeting December 8-10, 2004 Roadmap for IOC.
Stanford Linear Accelerator Center Michael Zelazny EPICS Collaboration Meeting Dec 3&4, Channel Watcher Bumpless Reboot Replacement Related Web Page:
October Test Beam DAQ. Framework sketch Only DAQs subprograms works during spills Each subprogram produces an output each spill Each dependant subprogram.
CERN IT Department CH-1211 Genève 23 Switzerland t Migration from ELFMs to Agile Infrastructure CERN, IT Department.
Software Development Process CS 360 Lecture 3. Software Process The software process is a structured set of activities required to develop a software.
1 Channel Access Concepts – IHEP EPICS Training – K.F – Aug EPICS Channel Access Concepts Kazuro Furukawa, KEK (Bob Dalesio, LANL)
1 Run-to-Completion Non-Preemptive Scheduler. 2 In These Notes... What is Scheduling? What is non-preemptive scheduling? Examples Run to completion (cooperative)
1 09/2003 Processing Library Update CF Checker – Script made available as a web based form on the BADC site -
CSc 352 An Introduction to make Saumya Debray Dept. of Computer Science The University of Arizona, Tucson
Visual Programming Borland Delphi. Developing Applications Borland Delphi is an object-oriented, visual programming environment to develop 32-bit applications.
State Notation Language and the Sequencer Andrew Johnson APS Engineering Support Division October 2008 INFN EPICS Training.
Code improvement: Coverity static analysis Valgrind dynamic analysis GABRIELE COSMO CERN, EP/SFT.
Unit Testing.
JavaIOC Overview and Update
Constructing Deploying and Maintaining Enterprise Systems
Behavioral Design Patterns
Software Testing With Testopia
Maintaining software solutions
State Notation Language (SNL) and Sequencer
CS 240 – Advanced Programming Concepts
EPICS BASE Release alpha3 EPICS Meeting at IHEP
SNS Epics Meeting November, 2000
Channel Access Concepts
Overview Activities from additional UP disciplines are needed to bring a system into being Implementation Testing Deployment Configuration and change management.
Presentation transcript:

EPICS sequencer update Greg White / William Lupton / EPICS ‘99 SLAC, May 27, 1999

27-May-99EPICS sequencer update2 Changes made in the last year Various minor bug fixes –applied in parallel to “base” and “local” versions “Local” version converted to work with makeBaseApp –in ANL CVS but not yet released to community Good progress on conversion to use Marty Kraimer’s OSI (operating system independent) layer Greg White (SLAC) will be working on syntax extensions

27-May-99EPICS sequencer update3 “Local” version In use at Keck for 3+ years Major change is support for monitor queues –don’t miss events, even when posted in rapid succession –useful for subsystem coordination and command completion Details at 1997 EPICS collaboration meeting

27-May-99EPICS sequencer update4 makeBaseApp version Contains the “local” version –NB, question mark over sequencer deletion (may be broken in “base” version too?) Includes Andy Kozubal’s v1.9 manual –will be updated to describe new features Standard version will remain in base for some time? (eventually unbundled) –individual sites will be able to choose version

27-May-99EPICS sequencer update5 Running sequencers under Unix Sequencer run-time support code has been converted to use Marty Kraimer’s OSI layer –OSI has been implemented for POSIX under Solaris and Linux Can run an EPICS sequence (with multiple state-sets) as a single Unix task –can debug and test using Unix tools –can deploy in either environment

27-May-99EPICS sequencer update6 Further details In sequencer run-time support code, –taskXxx() calls become OSIthreadXxx() calls –semXxx() calls become OSIsemXxx() calls (etc.) Under Unix, xxx.st becomes executable xxx –main thread supports command line input (seqShow etc.) Code contains no #ifdef SOLARIS tests

27-May-99EPICS sequencer update7 To be done Tidy up loose ends, e.g. –Unix version of taskwd routines (in OSI?) –ca_import(), ca_import_cancel() –remove libCom.a dependence? Add CDEV support (c.f. medm and alh) Add ability for sequencer to serve its own channels? –larger issue; with OSI, entire IOC functionality (except hardware access?) can be replaced by a single Unix task Document and make available to community

27-May-99EPICS sequencer update8 SNL syntax extensions (1) Entry and exit actions entry action before first “when” exit action after last “when” state fred { entry { } /* when clauses */ exit { } Option not to reset delay timer on transition to same state when enabled, delay is always measured from initial entry to the state state fred { option +t; /* affects state */ } /* reverts to default */

27-May-99EPICS sequencer update9 SNL syntax extensions (2) Subroutines –if no args, can use macro –if no PV-assigned names, can use regular C routine –so only interesting case is where there at least one argument is a PV-assigned name Will require pre-declaration of such routines For example int xxx( pv, int ); implies args are PV- assigned name and int code for xxx() must reside within same SNL module IS THIS WORTH IT? IS IT WHAT IS WANTED?

27-May-99EPICS sequencer update10 Other SNL additions (from 1997) snc error-reporting improvement ca_put_callback() support support more of C language (init, locals, “?:” etc.) several state-sets to share single task permit hierarchical states hooks for external C code to set and test event flags (from ISRs too) comprehensive test suite more?