Stanford Linear Accelerator Center New SNL Ideas Possible Next Steps Ron Chestnut – PSI, May, 2001 With ideas from B. Dalesio and M. Clausen.

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.
CSCC69: Operating Systems
16 - Nov. 2000EPICS Workshop Oak Ridge1 Epics to TINE translator Matthias Clausen, DESY Hamburg Phil Duval, DESY Hamburg Zoltan Kakucs, DESY Hamburg.
Using Objects and Properties
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.
OPC Overview OPC Device Support (PLC Gateway for 3.14) Ralph Lange – EPICS Collaboration Meeting at SLAC, April 2005.
PHP Server-side Programming. PHP  PHP stands for PHP: Hypertext Preprocessor  PHP is interpreted  PHP code is embedded into HTML code  interpreter.
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.
IOC SHELL ADDITIONS Eric Norum September 3, 2003.
John Sinclair Oak Ridge National Laboratory
Differences between C# and C++ Dr. Catherine Stringfellow Dr. Stewart Carpenter.
Lab Assignment 7 | Web Forms and Manipulating Strings Interactive Features Added In this assignment you will continue the design and implementation of.
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.
JavaIOC Marty Kraimer EPICS Collaboration Meeting ICALEPCS October
SNL and Sequencer 1 Controls EPICS Training Class EPICS Collaboration Meeting SLAC State Notation Language (SNL) and Sequencer April 23, 2012 Kukhee.
MySQL in PHP – Page 1 of 17CSCI 2910 – Client/Server-Side Programming CSCI 2910 Client/Server-Side Programming Topic: MySQL in PHP Reading: Williams &
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)
Internet Forms and Database Bob Kisel Amgraf, Inc.
Dec 8-10, 2004EPICS Collaboration Meeting – Tokai, Japan MicroIOC: A Simple Robust Platform for Integrating Devices Mark Pleško
1 SNL Current State (in transition state) By Matthias Clausen Ron Chestnut.
EPICS Direction to Support Large Projects and Incorporate New Technology Leo R. Dalesio 09/21/99.
JavaIOC EPICS Meeting SSRF March Presented by: Marty Kraimer.
Stanford Linear Accelerator Center R. Hall/L. Yasukawa1 EPICS Collaboration Mtg May 21, 2002 Oracle Storage for the Channel Archiver Managing Channel Archiver.
‘ActiveX’ CA Server (… and Client) Oct Kay-Uwe Kasemir, LANL.
Linux+ Guide to Linux Certification, Third Edition
Chapter 7: Reveal! Displaying Pictures in a Gallery.
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.
Chapter 5: Windows and Frames
Data TypestMyn1 Data Types The type of a variable is not set by the programmer; rather, it is decided at runtime by PHP depending on the context in which.
Managed by UT-Battelle for the Department of Energy EPICS Sequencer Kay Kasemir, SNS/ORNL Many slides from Andrew Johnson, APS/ANL Feb
Writing a Channel Access Client in EPICS Bob Dalesio, April 5, 2000.
Writing a Channel Access Client in EPICS Bob Dalesio, April 5, 2000.
EPICS sequencer update Greg White / William Lupton / EPICS ‘99 SLAC, May 27, 1999.
A XML 1 An XML Driven Graphical User Interface and Application Management Toolkit Matthias Clausen (DESY & SLAC) Piotr Bartkiewicz (DESY & FPNT/AGH) Alexei.
CSCI 6962: Server-side Design and Programming JSF DataTables and Shopping Carts.
MT311 Java Application Development and Programming Languages Li Tak Sing ( 李德成 )
1 EPICS EPICS Base 3.13 and 3.14 Status and License IHEP August 2002 Marty Kraimer and Andrew Johnson.
Control System Overview J. Frederick Bartlett Fermilab June 1,1999.
School of Computer Science & Information Technology G6DICP - Lecture 4 Variables, data types & decision making.
 In the java programming language, a keyword is one of 50 reserved words which have a predefined meaning in the language; because of this,
1 1999/Ph 514: Lab #3A : SNL Lab#3B : Development Environment EPICS Lab #3a State Notation Language.
Arrays. The array data structure Array is a collection of elements, that have the same data type Integers (int) Floating point numbers (float, double)
Chapter 5 Linked List by Before you learn Linked List 3 rd level of Data Structures Intermediate Level of Understanding for C++ Please.
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:
Dynamic Programming & Memoization. When to use? Problem has a recursive formulation Solutions are “ordered” –Earlier vs. later recursions.
Controls Zheqiao Geng Oct. 12, Autosave Additions/Upgrades and Experiences at SLAC Zheqiao Geng Controls Department SLAC National Accelerator Laboratory.
1 Channel Access Concepts – IHEP EPICS Training – K.F – Aug EPICS Channel Access Concepts Kazuro Furukawa, KEK (Bob Dalesio, LANL)
EPICS and LabVIEW Tony Vento, National Instruments
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.
Channel Access Security 2006 O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY 2 Channel Access Security  The IOC Application.
Integrating and Extending Workflow 8 AA301 Carl Sykes Ed Heaney.
State Notation Language and the Sequencer Andrew Johnson APS Engineering Support Division October 2008 INFN EPICS Training.
Chapter 27 Network Management Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
SESSION 1 Introduction in Java. Objectives Introduce classes and objects Starting with Java Introduce JDK Writing a simple Java program Using comments.
Using COTS Hardware with EPICS Through LabVIEW – A Status Report EPICS Collaboration Meeting Fall 2011.
1 Adding a Model. We have created an MVC web app project Added a controller class. Added a view class. Next we will add some classes for managing movies.
JavaIOC Overview and Update
Andrew Johnson and Eric Norum AES Controls Group, Argonne
Register Use Policy Conventions
EPICS Version 4 Abstract:
State Notation Language (SNL) and Sequencer
I/O in C Lecture 6 Winter Quarter Engineering H192 Winter 2005
EPICS BASE Release alpha3 EPICS Meeting at IHEP
Writing a Channel Access Client in EPICS
The Lua Chunk Vault, an enhancement to epics base
Database 2.
Presentation transcript:

Stanford Linear Accelerator Center New SNL Ideas Possible Next Steps Ron Chestnut – PSI, May, 2001 With ideas from B. Dalesio and M. Clausen

Already new in 3.14 M. Kraimer, Eric Norum, Janet Anderson Works on Solaris, RTEMS, Linux, Windows too? SEQ shell now optional +m option for main() generation -i option for suppressing ioccrf registration (also C++ implications) Minor changes to distribution

SNL User Variable Server Must support dynamic load, kill, and reload Use “Serve” verb in place of “Assign” Add “Metadata” specification for use by Serve Need SEQCA task to serve variables for all SNL programs on an IOC

Syntax Metadata q {Precision=3,Display Low=10,Engineering Units=“Erg”,MALM=20}; Metatadata r {Display High=200}; Float x; Serve x as “snl:xyz:good” using q; Long y; Serve y as “snl:abc:ok” using r; Double z[20]; Serve z as “snl:array” using q; Normal macro replacements supported as well.

Metadata English, not database abbreviations Display High/Low Precision Engineering units Waveform lengths Any ENUM data More???

More internal functions pvServeCount (like pvAssignCount) pvServed (like pvAssigned) pvServe (like pvAssign) This runtime capability would probably be deferred until later.

SEQCA – the real server Register data from initializing SNL programs Communicate with individual SNL programs via pipes? Clean up on SNL crash or disconnect All updates via pvGet and pvPut for served variables (no monitor!) No explicit reference to individual fields

SEQCA – a picture CA Server SNL #1 SNL #2 pvPut pvGet pvPut pvGet

Work Involved Do a real design Syntax support, code generation SEQCA task development

Serving SNL Internals Some data now available only through seqShow taskid and seqChanShow taskid Name, #state sets, #channels, #assigned, #served, #connected For each state set: Name, current state, previous state, elapsed time since transition For each channel: Name, Unexpanded name, Assigned?, Connected?, Served?

Example names for internals (better ideas gladly taken) IOC_name:SNC:nprograms (integer) IOC_name:SNC:program (array of strings) IOC_name:SNC:program:nSS (array of ints) IOC_name:SNC:program:nchan (array of ints) IOC_name:SNC:prog_N:SS:name (array of strings) IOC_name:SNC:prog_N:SS:cur_state (array of strings) IOC_name:SNC:prog_N:ch:name (array of strings) IOC_name:SNC:prog_N:ch:assigned ( array of ints) Where _N,ch,SS and IOC_name are automatic

Mechanics of internals’ serving SEQCA again does all the real work Add table similar to user variable table for accessing internals OR Append internals table to user variable table. Both require restructuring of structures containing the internals’ data. This is all, of course, read-only.

Discussion This all seems doable – just a matter of time (Cubs win series? Sun burns out?) Need feedback We can possibly do the syntax and internals changes at SLAC. Others need to design and implement SEQCA.