TBPM Front-End Software Design Review L.Piccoli April 20 2004.

Slides:



Advertisements
Similar presentations
PROCESS MANAGEMENT Y. Colette LeMard.
Advertisements

Processes Management.
Computer Hardware & Systems
1 Exceptions, Interrupts & Traps Operating System Hebrew University Spring 2007.
Input and Output CS 215 Lecture #20.
Programmable Interval Timer
Operating Systems Operating system is the “executive manager” of all hardware and software.
System Capacity MAP 5000 Release 1.2 Feature Overview
Digital Filter Mode Switch Closed Orbit Mode Fast Abort Buffer Slow Abort Buffer Profile Frame Buffer Display Frame Buffer - Switch activated every 2ms.
Yevgeny Petrilin Shay Dan Shadi Ibrahim. GUI : Graphical User Interface DAQ :Data Acquisition Data Acquisition device  a self-powered system that communicated.
Outline  Examine some of the H/W supplied with a typical PC and consider the software required to control it.  Introduce Commkit, a software tool that.
Chapter 10 Chapter 10: Printer Management. Chapter 10 Learning Objectives n Describe the printing process used by Windows NT n Install a local printer.
Software Frameworks for Acquisition and Control European PhD – 2009 Horácio Fernandes.
Chapter 7 Interupts DMA Channels Context Switching.
Midterm Tuesday October 23 Covers Chapters 3 through 6 - Buses, Clocks, Timing, Edge Triggering, Level Triggering - Cache Memory Systems - Internal Memory.
Hardware/software Interfacing. Page 2 Interrupt handling and using internal timer Two way for processor to accept external input: Waiting for input: Processor.
1 Operating Systems Ch An Overview. Architecture of Computer Hardware and Systems Software Irv Englander, John Wiley, Bare Bones Computer.
Exceptions, Interrupts & Traps
What do operating systems do? manage processes manage memory and computer resources provide security features execute user programs make solving user.
Monitoring systems COMET types MS55 & MS6 MS55/MS6 Configuration.
–Streamline / organize Improve readability of code Decrease code volume/line count Simplify mechanisms Improve maintainability & clarity Decrease development.
Console Application Programming Brian Hendricks. Getting Started On the web –New user help adcon.fnal.gov/controls/clib/new_user.html –Library help adcon.fnal.gov/controls/libraries.html.
1 Computer System Overview Chapter 1. 2 n An Operating System makes the computing power available to users by controlling the hardware n Let us review.
EMBEDDED SYSTEMS 9 April 2013 William W. McMillan.
Input and Output Computer Organization and Assembly Language: Module 9.
Data Acquisition Data acquisition (DAQ) basics Connecting Signals Simple DAQ application Computer DAQ Device Terminal Block Cable Sensors.
SCADA. 3-Oct-15 Contents.. Introduction Hardware Architecture Software Architecture Functionality Conclusion References.
Input and output (IO) systems Last week we considered the memory management layer of the operating system. This week we will look at another layer of the.
1-1 Embedded Network Interface (ENI) API Concepts Shared RAM vs. FIFO modes ENI API’s.
G. Maron, Agata Week, Orsay, January Agata DAQ Layout Gaetano Maron INFN – Laboratori Nazionali di Legnaro.
Lecture 3 Process Concepts. What is a Process? A process is the dynamic execution context of an executing program. Several processes may run concurrently,
CE Operating Systems Lecture 3 Overview of OS functions and structure.
Management of the LHCb DAQ Network Guoming Liu * †, Niko Neufeld * * CERN, Switzerland † University of Ferrara, Italy.
Accessing I/O Devices Processor Memory BUS I/O Device 1 I/O Device 2.
Features of the new Alibava firmware: 1. Universal for laboratory use (readout of stand-alone detector via USB interface) and for the telescope readout.
GAYA Analyzer SDD Presentation. GAYA Analyzer Introduction OMS40G256 is a hardware device used for detection of radioactive radiation for medical imaging.
LHC BLM Software revue June BLM Software components Handled by BI Software section –Expert GUIs  Not discussed today –Real-Time software  Topic.
The Main Injector Beam Position Monitor Front-End Software Luciano Piccoli, Stephen Foulkes, Margaret Votava and Charles Briegel Fermi National Accelerator.
A simple Desktop DAQ for U2F readout Ulf jörnmark Physics Dept. Lund Status and plans.
Beam Line BPM Filter Module Nathan Eddy May 31, 2005.
Fermilab February 17, 2003Recycler BPM Front-end1 Duane C. Voy
Management of the LHCb Online Network Based on SCADA System Guoming Liu * †, Niko Neufeld † * University of Ferrara, Italy † CERN, Geneva, Switzerland.
BABCA Software Operating Systems (OS) aka Systems Software A set of instructions that coordinate all the activities among computer hardware resources.
Software development Control system of the new IGBT EE switch.
Input/Output Problems Wide variety of peripherals —Delivering different amounts of data —At different speeds —In different formats All slower than CPU.
IT3002 Computer Architecture
5 June 2002DOM Main Board Engineering Requirements Review 1 DOM Main Board Software Engineering Requirements Review June 5, 2002 LBNL Chuck McParland.
OSes: 2. Structs 1 Operating Systems v Objective –to give a (selective) overview of computer system architectures Certificate Program in Software Development.
Input Output Techniques Programmed Interrupt driven Direct Memory Access (DMA)
Post Mortem Workshop Session 4 Data Providers, Volume and Type of Analysis Beam Instrumentation Stéphane Bart Pedersen January 2007.
بسم الله الرحمن الرحيم MEMORY AND I/O.
Fall 2000M.B. Ibáñez Lecture 26 I/O Systems II. Fall 2000M.B. Ibáñez Application I/O Interface I/O system calls encapsulate device behaviors in generic.
9/2/2003Tev BPM requirements1 Tevatron BPM and BLM requirements Mike Martens.
Part IVI/O Systems Chapter 13: I/O Systems. I/O Hardware a typical PCI bus structure 2.
1 DAQ.IHEP Beijing, CAS.CHINA mail to: The Readout In BESIII DAQ Framework The BESIII DAQ system consists of the readout subsystem, the.
12/16/03Tev BPM requirements1 Tevatron BPM requirements Mike Martens.
Interrupts and Exception Handling. Execution We are quite aware of the Fetch, Execute process of the control unit of the CPU –Fetch and instruction as.
An operating system (OS) is a collection of system programs that together control the operation of a computer system.
OATS - An Example of LCOD Organic Aerosol Thermal desorption chemical ionization mass Spectrometer David Thomson NOAA Aeronomy Lab October 19, 2006 ALARM.
Introduction to Exceptions 1 Introduction to Exceptions ARM Advanced RISC Machines.
1 Control & Readout Emulator for the Preshower Electronics (CREPE) P.Vichoudis, CERN.
Operating System (Reference : OS[Silberschatz] + Norton 6e book slides)
Online Software November 10, 2009 Infrastructure Overview Luciano Orsini, Roland Moser Invited Talk at SuperB ETD-Online Status Review.
OPERATING SYSTEM REVIEW. System Software The programs that control and maintain the operation of the computer and its devices The two parts of system.
TBPM Front-End Software Design Review
Computer System Overview
System Calls.
The LHCb High Level Trigger Software Framework
Chapter 3: Process Management
Presentation transcript:

TBPM Front-End Software Design Review L.Piccoli April

Contents Generic Framework Diagram –Control Task –Data Acquisition Tasks –Data Buffers and Data Sources –Buffer Readout –Alarms –Triggers –ACNET Tevatron BPM Diagram Class Diagram

Data Acquisition Task Trigger Queue Trigger Data Source (EchoTek or buffer) MOOC/Backdoor Control Queue Alarm Queue Alarm Task Request Queue 2ms, 1sec TCLK State Devices TCLK State Devices Spawn Suspend Resume Delete Data Control request Triggers Status Alarm/Clear Alarm Trigger Data Data request Mode change Control request Data request Alarm Buffer Readout Task Data Buffer Control Task Queue Task SW or HW Buffer

Control Task Receive external commands (from MOOC) –Mode change, set diagnostics, calibration Control data acquisition tasks – Start, stop, pause and resume Receive state device changes and TCLKS Configure EchoTek and timing board on mode changes TCLK State Devices Spawn Suspend Resume Delete Control request Triggers Status Alarm/Clear Control Task

Data Acquisition Tasks Receive commands and triggers through input queue When a trigger is received: –Get data from a Data Source –Store data into a Data Buffer A Data Source can be either Hardware or an internal Data Buffer Data Acquisition Task Trigger Queue Spawn Suspend Resume Delete Data Alarm Trigger

Buffers Data Source –Define operations for retrieving data Data Buffer –Provide interface for storing data in the front-end memory Data Buffer is a Data Source –Reading hardware or an internal buffer should be transparent for the Data Acquisition Tasks

Buffer Readout Handled by Buffer Readout Tasks –Number of tasks settable Request comes through the MOOC callback, which makes a request to the Buffer Readout Task Task selects buffer based on the request Data is packed according to online specifications (doc #860) Request Queue Data Data request Buffer Readout Task Data Buffer

Alarms Any task can generate alarms within the system Internal alarms are handled by an Alarm Task –Input alarm queue Alarm Task decides what internal alarms or combination of alarms trigger an external alarm Control Task or user command can clear alarm conditions Alarm Queue Alarm Task Alarm Internal Alarms

Triggers Created by Trigger Generators Type of triggers: –TCLKs –State Device Changes –Time events (2 ms, 1 sec) Triggers are sent to the input queues of the Data Acquisition Tasks –Tasks are in a loop doing data acquisition and waiting for triggers Trigger 2ms, 1sec TCLK State Devices

ACNET ACNET communication is handled by a set of callbacks, providing: –Standard communication with the system –Reduced number of entry points –Support other communication mechanisms besides ACNET (e.g. backdoor)

Trigger Queue BPM Slow Abort Task BPM Fast Abort Task Trigger MOOC/Backdoor Control Queue Alarm Queue Alarm Task Request Queue TCLK State Devices Suspend Resume Status Alarm/Clear Alarm Data Data request Mode change Control request Data request Alarm Buffer Readout Task 2ms Trigger 1sec Control Task Alarm Trigger Turn by Turn Task BPM Profile Task BPM Display Task Injection TurnByTurn Task BLM Fast Abort Task BLM Display Task 1sec Injection Turn by Turn Buffer BPM Fast Abort Buffer EchoTek BPM Slow Abort Buffer Turn by Turn Buffer EchoTek BPM Fast Abort Buffer BPM Profile Buffer BPM Fast Abort Buffer BPM Display Buffer BLM BLM Fast Abort Buffer BLM Display Buffer EchoTek Trigger Queue Trigger Timing Calibration Queue Task Hardware Data Buffer Data Source & Buffer Alarm State

Software Portability Generic framework allows reusability of: –Data acquisition model –Data buffer model –Control model –Event model –Alarm system Only classes that contain code for the new environment need to be written: –Define control operations (mode change, hardware configuration) –Define data types and structures –Hardware access classes –Specific data acquisition routines –Alarm conditions

Class Diagram