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.

Slides:



Advertisements
Similar presentations
Owned and operated as a joint venture by a consortium of Canadian universities via a contribution through the National Research Council Canada Propriété
Advertisements

COMMUNICATING SEQUENTIAL PROCESSES C. A. R. Hoare The Queen’s University Belfast, North Ireland.
Component Oriented Programming 1 Chapter 2 Theory of Components.
Owned and operated as a joint venture by a consortium of Canadian universities via a contribution through the National Research Council Canada Propriété.
Proposal for ½ MW photo-fission driver based on TESLA 1.3 GHz SCRF technology (Shane Koscielniak, 09 Nov 2007) Electron Linac CANADA ’ S NATIONAL LABORATORY.
Owned and operated as a joint venture by a consortium of Canadian universities via a contribution through the National Research Council Canada Propriété.
Macro Processor.
Owned and operated as a joint venture by a consortium of Canadian universities via a contribution through the National Research Council Canada Propriété.
Automating Tasks With Macros
The IDE (Integrated Development Environment) provides a DEBUGGER for locating and correcting errors in program logic (logic errors not syntax errors) The.
Proposal for ½ MW photo-fission driver based on TESLA 1.3 GHz SCRF technology (Shane Koscielniak, 09 Nov 2007) Electron Linac CANADA ’ S NATIONAL LABORATORY.
SUNY Morrisville-Norwich Campus-Week 12 CITA 130 Advanced Computer Applications II Spring 2005 Prof. Tom Smith.
Owned and operated as a joint venture by a consortium of Canadian universities via a contribution through the National Research Council Canada Propriété.
The Soft-IOC Based Alarm Handler – an Operations View Pam Gurd October 31, 2007.
Owned and operated as a joint venture by a consortium of Canadian universities via a contribution through the National Research Council Canada Propriété.
James Inkster, Msc., SFU/TRIUMF Simplifying the Preparation of 18 F-based Biomolecular Imaging Agents Through ‘Click’ Chemistry CANADA’S NATIONAL LABORATORY.
SRF Activities at TRIUMF & PAVAC
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.
1 1999/Ph 514: State Notation Language EPICS State Notation Language (SNL) Ned D. Arnold APS.
Owned and operated as a joint venture by a consortium of Canadian universities via a contribution through the National Research Council Canada Propriété.
Steven McDonald May TRIUMF Site Report CANADA’S NATIONAL LABORATORY FOR PARTICLE AND NUCLEAR PHYSICS Owned and operated as a joint.
XP New Perspectives on Microsoft Office Access 2003 Tutorial 11 1 Microsoft Office Access 2003 Tutorial 11 – Using and Writing Visual Basic for Applications.
Automating Tasks with Visual Basic. Introduction  When can’t find a readymade macro action that does the job you want, you can use Visual Basic code.
Higher Grade Computing Studies 2. Languages and Environments Higher Computing Software Development S. McCrossan 1 Classification of Languages 1. Procedural.
WaveMaker Visual AJAX Studio 4.0 Training Authentication.
London April 2005 London April 2005 Creating Eyeblaster Ads The Rich Media Platform The Rich Media Platform Eyeblaster.
London April 2005 London April 2005 Creating Eyeblaster Ads The Rich Media Platform The Rich Media Platform Eyeblaster.
Capture and Replay Often used for regression test development –Tool used to capture interactions with the system under test. –Inputs must be captured;
XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser Matthias Clausen, DESY XFEL Refrigerator Controls – April CSS-DCT (SNL) Training.
Interaction Modeling. Introduction (1) Third leg of the modeling tripod. It describes interaction within a system. The class model describes the objects.
FTP Client Application CSC 8560 Brian Jorgage 4/27/2004.
Databases at TRIUMF Andrew Wong CANADA’S NATIONAL LABORATORY FOR PARTICLE AND NUCLEAR PHYSICS Owned and operated as a joint venture by a consortium of.
Owned and operated as a joint venture by a consortium of Canadian universities via a contribution through the National Research Council Canada Propriété.
Objective At the conclusion of this chapter you will be able to:
3-Tier Client/Server Internet Example. TIER 1 - User interface and navigation Labeled Tier 1 in the following graphic, this layer comprises the entire.
Owned and operated as a joint venture by a consortium of Canadian universities via a contribution through the National Research Council Canada Propriété.
Owned and operated as a joint venture by a consortium of Canadian universities via a contribution through the National Research Council Canada Propriété.
Programmable Logic Training Course HDL Editor
The Most Exotic Nuclei on Earth: Precision Experiments on Halo Nuclei Maxime Brodeur UBC graduate student, TRIUMF for the TITAN collaboration CANADA’S.
Managed by UT-Battelle for the Department of Energy EPICS Sequencer Kay Kasemir, SNS/ORNL Many slides from Andrew Johnson, APS/ANL Feb
January 18, 2013 All Hands January ARIEL Completion and the next 5 Year Plan.
Slide 1 Project 1 Task 2 T&N3311 PJ1 Information & Communications Technology HD in Telecommunications and Networking Task 2 Briefing The Design of a Computer.
11/25/2015Slide 1 Scripts are short programs that repeat sequences of SPSS commands. SPSS includes a computer language called Sax Basic for the creation.
Introduction to c++ programming - object oriented programming concepts - Structured Vs OOP. Classes and objects - class definition - Objects - class scope.
Owned and operated as a joint venture by a consortium of Canadian universities via a contribution through the National Research Council Canada Propriété.
EPICS sequencer update Greg White / William Lupton / EPICS ‘99 SLAC, May 27, 1999.
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.
Jan Hatje, DESY CSS – Control System Studio EPICS collaboration meeting CSS – Control System Studio Update EPICS collaboration meeting 2008 Shanghai.
Laboratory 2 Group 19 The Group of Destiny. User Interface - Debugging Objectives:  Display: Sensor data (telemetry) – including IR sensors, status of.
1. 2 Purpose of This Presentation ◆ To explain how spacecraft can be virtualized by using a standard modeling method; ◆ To introduce the basic concept.
TDAQ Experience in the BNL Liquid Argon Calorimeter Test Facility Denis Oliveira Damazio (BNL), George Redlinger (BNL).
Owned and operated as a joint venture by a consortium of Canadian universities via a contribution through the National Research Council Canada Propriété.
Controls Zheqiao Geng Oct. 12, Autosave Additions/Upgrades and Experiences at SLAC Zheqiao Geng Controls Department SLAC National Accelerator Laboratory.
 A macro represents a commonly used group of statements in the source programming language.  The macro processor replaces each macro instruction with.
Chapter – 8 Software Tools.
An EPICS IDE Using Eclipse Kenneth Evans, Jr. Presented at the EPICS Collaboration Meeting June 15, 2006 Argonne National Laboratory, Argonne, IL.
OCR A Level F453: The function and purpose of translators Translators a. describe the need for, and use of, translators to convert source code.
Visual Programming Borland Delphi. Developing Applications Borland Delphi is an object-oriented, visual programming environment to develop 32-bit applications.
Owned and operated as a joint venture by a consortium of Canadian universities via a contribution through the National Research Council Canada Propriété.
Owned and operated as a joint venture by a consortium of Canadian universities via a contribution through the National Research Council Canada Propriété.
Owned and operated as a joint venture by a consortium of Canadian universities via a contribution through the National Research Council Canada Propriété.
Owned and operated as a joint venture by a consortium of Canadian universities via a contribution through the National Research Council Canada Propriété.
Supercool Neutrons (Ultracold Neutrons) Jeff Martin University of Winnipeg Skywalk 2007 research supported by Natural Sciences and Engineering Research.
Introduction to Operating Systems
Subatomic Physics Detector Lab
tdct – a Capfast replacement
TE004 Smart Change Management with Sage CRM Component Manager
R.Keitel Epics Collaboration Meeting, Padova, Oct. 2008
Presentation transcript:

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 through the National Research Council Canada LABORATOIRE NATIONAL CANADIEN POUR LA RECHERCHE EN PHYSIQUE NUCLÉAIRE ET EN PHYSIQUE DES PARTICULES Propriété d’un consortium d’universités canadiennes, géré en co-entreprise à partir d’une contribution administrée par le Conseil national de recherches Canada 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 through the National Research Council Canada LABORATOIRE NATIONAL CANADIEN POUR LA RECHERCHE EN PHYSIQUE NUCLÉAIRE ET EN PHYSIQUE DES PARTICULES Propriété d'un consortium d'universités canadiennes, géré en co-entreprise à partir d'une contribution administrée par le Conseil national de recherches Canada Host-Based (and IOC-Based) Sequences Pam Gurd

April, 2009Pam Gurd Host-Based Sequences: Outline CPPE now –What is it? –Examples of sequences –Macros Why move to Perl How it works –Examples: screen shots –Where it's deployed –Including CXML Where we're going

April, 2009Pam Gurd CPPE Now: What is it? A host-based sequencer C program cppe: Command Procedure Processor for EPICS Processes a procedural language –Variable definitions: All PVs must be defined, else it won't execute –Syntax check; won't execute if not okay –Procedural steps –Including waits and conditions –PVs for procedure locking, abort, and message reporting defined by engineer and explicitly handled in the procedure

April, 2009Pam Gurd CPPE Now: Examples rampps – ramp power supply (specified by argument) pump2a – pumpdown procedure rfqpscfg – turn on RFQ power supplies targetheat – ramp 2 heaters together

April, 2009Pam Gurd CPPE Now: Macros Captures operator actions –Between operator start and stop –CaPutLog → file These files can be converted for execution by cppe

April, 2009Pam Gurd Why move to Perl Perl provides more capability than the cppe language Perl is already used extensively in the system – removes a language from the required knowledge base – Some programmers find cppe hard to use Rapid prototyping Allow (impose?) standardization of environment Improve display of procedure and status

April, 2009Pam Gurd CPP.pm A package of Perl routines that implements an API for procedural host-based sequences –Wrapper around CA.pm –Handle PV connections –Provide routines to get data from PVs and send data to PVs –Provide delays and condition testing –Defines standard methods for abort, lock/synchronizing/exclusion and reporting –Provide a way to register a cleanup procedure –Allow parameterized common routines

April, 2009Pam Gurd CPP.pm - Screen Shot Start Button Abort Button Area for messages

April, 2009Pam Gurd Where it's used Not in production yet. Translations of a few cppe procedures have been tested.

April, 2009Pam Gurd …well, a little bit different.

April, 2009Pam Gurd CXML State Machine defined using XML –Using XML definition for telephony: State Chart XML (SCXML): State Machine Notation for Control Abstraction ( –modified for controls Automatically produces edl screens and database files to support the state machine. Perl option uses the CPP.pm package. – Uses TK for optional display Or can automatically produce an EPICS SNL file to run on an IOC.

April, 2009Pam Gurd CXML at Work XML EPICS database EDL display files EPICS SNL sequence Direct execution using Perl (optional display using Tk) (Uses database created previously) CXML -t -e -d -s

April, 2009Pam Gurd CXML: XML fragment <send target="par(PS):DRVON" targettype="epics-pv" data="1"/> <transition cond="pv(par(PS):STATON) < 0.5" target="All_done"> <send target="CXML:par(PS):RAMPSTAT" targettype="epics-pv" data="2"/>

April, 2009Pam Gurd CXML: Database The entity was added to the SCXML specification Abort, start, lock and message PVs Other support PVs for the state machine –Eg, limits, steps, wait times –Also can define latches for momentary conditions –Uses event flags on PVs it's watching Command line parameters –To allow parameterization of PV names and limits, for example

April, 2009Pam Gurd CXML: Screen Shot Load Button (appears when it's not loaded) Abort Button (appears when it's running) Area for messages Start Button State Machine Description (note highlighted active state) Operator Help

April, 2009Pam Gurd CXML is Deployed In two test areas: –Laser Ion Source ramps the tube and crucible heaters up and down Ramps the bias voltage up and down –Source Test Stand ramps the tube and target heaters up and down Both of these use SNL.

April, 2009Pam Gurd Where we're going Replace the cppe procedures for maintainability Direct CPP.pm vs CXML? –A procedure that just turns a list of devices on or off probably doesn't make much sense as a state machine. –More natural to convert an existing cppe procedure to Perl sequences with CPP.pm –Once other engineers are trained in the CXML approach, they may find that natural as well. Perl vs SNL? There aren't any SNL sequences in the production ISAC control system now. Recreate the macro facility (work on captured caPutLog)

April, 2009Pam Gurd Going Further Take a census of SNL functions and add what's missing Take a census of SCXML functions and add any that seem relevant A visual state machine editor

April, 2009Pam Gurd 4004 Wesbrook Mall Vancouver, B.C. Canada V6T 2A3 Tel: Fax: Thank you! Merci! Everyone's Favourite Slide