L1CAL Online Control System Philippe Laurens 26-Aug-2005.

Slides:



Advertisements
Similar presentations
GCT Software ESR - 10th May 2006 Jim Brooke. Jim Brooke, 10 th May 2006 HAL/CAEN Overview GCT Driver GCT GUI Trigger Supervisor Config DB Test scripts.
Advertisements

Computer Hardware & Systems
StreamBlade SOE TM Initial StreamBlade TM Stream Offload Engine (SOE) Single Board Computer SOE-4-PCI Rev 1.2.
GNAM and OHP: Monitoring Tools for the ATLAS Experiment at LHC GNAM and OHP: Monitoring Tools for the ATLAS Experiment at LHC M. Della Pietra, P. Adragna,
Zero Energy Response of ADF Raw ADC and ADF Output Et & New “36 LiveX sampling mode” for Find_DAC Philippe Laurens MSU Sept 2006 (rev 20-sept-2006)
Pedestal Tracking in action a.k.a. Active Stabilization of L1Cal Trigger Tower Zero Energy Response Philippe Laurens Michigan State University 09-Nov-2007.
UNIX Chapter 01 Overview of Operating Systems Mr. Mohammad A. Smirat.
L1CAL Online Software Philippe Laurens 31-May-2005.
Run IIb L1CAL TCC Philippe Laurens MSU 9-Feb-2006.
28 August 2002Paul Dauncey1 Readout electronics for the CALICE ECAL and tile HCAL Paul Dauncey Imperial College, University of London, UK For the CALICE-UK.
Pedestal Correction in action (but still during shutdown) Philippe Laurens Michigan State University 16-Oct-2007.
H. EvansRun IIb Trigger Meeting: 26-Feb-04 1 Ensuring Success for L1Cal in Run IIb H. EvansColumbia U. Outline 1.Pre-Installation (extensive use of Test.
H. EvansRun IIb L1Cal Meeting: 1-May-031 Goals of the Summer Integration Test Summer Integration Schedule –16-Jul-03 – 8-Oct-03 Test Infrastructure –what.
IEEE 2003 Real Time Conference D. Calvet Algorithms and Architecture for the L1 Calorimeter Trigger at D0 Run IIb J. Bystricky, D. Calvet, P. Le Dû, E.
DØ L1Cal Trigger 10-th INTERNATIONAL CONFERENCE ON INSTRUMENTATION FOR COLLIDING BEAM PHYSICS Budker Institute of Nuclear Physics Siberian Branch of Russian.
CS 0008 Day 2 1. Today Hardware and Software How computers store data How a program works Operators, types, input Print function Running the debugger.
The Prototype Correlator Sonja Vrcic Socorro, 5. December, 2006.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
Trigger Database Dmitry Romanov. Run Control Super- visor Agent CODA ROC Write Configuration tag – run number Run Config DB CODA ROC Agent    Hardware.
This presentation has been done by : Kareem Marwan Hamida..
Automatic Software Testing Tool for Computer Networks ADD Presentation Dudi Patimer Adi Shachar Yaniv Cohen
Imperial College Tracker Slow Control & Monitoring.
Recall: Three I/O Methods Synchronous: Wait for I/O operation to complete. Asynchronous: Post I/O request and switch to other work. DMA (Direct Memory.
FMUX01-A Copyright (c) 2003, 2004, CTC Union. All rights reserved.
LNL 1 SLOW CONTROLS FOR CMS DRIFT TUBE CHAMBERS M. Bellato, L. Castellani INFN Sezione di Padova.
Technical Part Laura Sartori. - System Overview - Hardware Configuration : description of the main tasks - L2 Decision CPU: algorithm timing analysis.
© 2004 Mercury Computer Systems, Inc. FPGAs & Software Components Graham Bardouleau & Jim Kulp Mercury Computer Systems, Inc. High Performance Embedded.
Introduction to Computer and Computer Networking: Part I Xiangming Mu 9/16/2004.
CE Operating Systems Lecture 3 Overview of OS functions and structure.
OPERATING SYSTEM - program that is loaded into the computer and coordinates all the activities among computer hardware devices. -controls the hardware.
FED RAL: Greg Iles5 March The 96 Channel FED Tester What needs to be tested ? Requirements for 96 channel tester ? Baseline design Functionality.
Online Software 8-July-98 Commissioning Working Group DØ Workshop S. Fuess Objective: Define for you, the customers of the Online system, the products.
Graphical User Interface You will be used to using programs that have a graphical user interface (GUI). So far you have been writing programs that have.
1 Chapter 34 Internet Applications (Telnet, FTP).
L3 DAQ Doug Chapin for the L3DAQ group DAQShifters Meeting 10 Sep 2002 Overview of L3 DAQ uMon l3xqt l3xmon.
HBD electronics status All the ADC and XMIT boards are installed. –Top 3 crates are for the ADC, XMIT boards –Bottom crate is for test pulse boards/future.
IPHC - DRS Gilles CLAUS 04/04/20061/20 EUDET JRA1 Meeting, April 2006 MAPS Test & DAQ Strasbourg OUTLINE Summary of MimoStar 2 Workshop CCMOS DAQ Status.
A simple Desktop DAQ for U2F readout Ulf jörnmark Physics Dept. Lund Status and plans.
1Malcolm Ellis - Tracker Meeting - 28th November 2006 Electronics - Station Acceptance  Hardware: u 1 MICE cryostat with 1 VLPC cassette. u VME crate,
August 2003 At A Glance The IRC is a platform independent, extensible, and adaptive framework that provides robust, interactive, and distributed control.
1 L1CAL for DAQ Shifter By Selcuk Cihangir 3/20/2007 Representing L1CAL group (slides from many people)
DØ Online Workshop3-June-1999S. Fuess Online Computing Overview DØ Online Workshop 3-June-1999 Stu Fuess.
New L2cal hardware and CPU timing Laura Sartori. - System overview - Hardware Configuration: a set of Pulsar boards receives, preprocess and merges the.
1 The TrackFinder GUI D. Acosta, L. Gray, N. Park, H. Stöck University of Florida.
TDAQ Experience in the BNL Liquid Argon Calorimeter Test Facility Denis Oliveira Damazio (BNL), George Redlinger (BNL).
1 Test Setups for the FE-I4 Integrated Circuit Stewart Koppell 8/1/2010.
October Test Beam DAQ. Framework sketch Only DAQs subprograms works during spills Each subprogram produces an output each spill Each dependant subprogram.
Lab 9 Department of Computer Science and Information Engineering National Taiwan University Lab9 - Debugging I 2014/11/4/ 28 1.
Copyright 2007, Information Builders. Slide 1 iWay Web Services and WebFOCUS Consumption Michael Florkowski Information Builders.
1 Tracker Software Status M. Ellis MICE Collaboration Meeting 27 th June 2005.
D0 PMG, 07Jun05 1 D. Wood, Trigger Upgrade Status Trigger Upgrade Status  The DØ Trigger Upgrade consists of u Complete replacement of Level 1 calorimeter.
ATLAS SCT/Pixel Off Detector Workshop, UCL, 15 June ROD Test Stand Lukas Tomasek LBL
UNIX Operating System. A Brief Review of Computer System 1. The Hardware CPU, RAM, ROM, DISK, CD-ROM, Monitor, Graphics Card, Keyboard, Mouse, Printer,
Geant4 GRID production Sangwan Kim, Vu Trong Hieu, AD At KISTI.
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
Scalable Readout System Data Acquisition using LabVIEW Riccardo de Asmundis INFN Napoli [Certified LabVIEW Developer]
SRTSC A LabVIEW based Test and Hardware Configuration System for SRS Volkan Gezer Eskisehir Osmangazi University & CERN.
TAB-To-L3(Tape) ● At the L1Cal2b sidewalk test stand we have a setup to transmit the data coming from detector to tape using the new system. ● We installed.
Software for Testing the New Injector BLM Electronics
Tracker readout, DAQ, C&M and calibration
Database System Concepts and Architecture
Commissioning the SIS3316 Digitizer
DT80 range Modbus capability
Computer Science I CSC 135.
ADC32RF45 Testing.
Commodity Flash ADC-FPGA Based Electronics for an
Lecture9: Embedded Network Operating System: cisco IOS
Chapter-1 Computer is an advanced electronic device that takes raw data as an input from the user and processes it under the control of a set of instructions.
Internet Applications (Telnet, FTP)
Lecture9: Embedded Network Operating System: cisco IOS
Presentation transcript:

L1CAL Online Control System Philippe Laurens 26-Aug-2005

Run IIb L1 Calorimeter Trigger Control Path L1Cal Expert Programs L1Cal TCC COOR Monitoring Clients Bit3 V.I. Master (to ADF) V.I. Master (to VRB) VME/SCL (to TAB) SCL Distributor (to ADF) L1Cal Comm. Crate VME-9U ADF Crate #1 of 4 VME-6U ADF #20 V.I. Slave ADF #20 … ADF Crate #4 of 4 VME-6U ADF #20 V.I. Slave ADF #1 … … TAB/GAB Crate Custom-9U TAB #1TAB #8GAB … L1Cal Readout Crate VME-9U V.I. Slave VRB VRBCSBC L3 L2 Ethernet Optical Fiber Splitters to L2Cal Crate … P. Laurens Rev: 31-May-05 (ALS, PAL) TFW SCL

L1Cal IIb Control Software Take L1CAL control out of L1 TCC – Based on Run IIa code – OS Independent: Windows -> Linux Split: Control Code vs. GUI – Python (GUI) & C++ (Control) – Re-use much of IIa infrastructure – New code for ADF – Use Nevis source code for TAB/GAB – Use ITC, Thread_Util, +now Xerces ( XML)

L1CAL TCC Control Software L1Cal TCC Bit3 L1Cal IIb Trigger Control Program (C++) L1Cal IIb Graphical User Interface (Python) L1CAL Comm. Crate Expert (e.g. at MSU) Remote Console (Copy of Screen Output) L1Cal IIb Graphical User Interface Host Computers COOR Monitoring Applications 31-May-05 ASCII commands over ITC Binary or XML over ITC ASCII over ITC XML over ITC L1Cal_IIb_Gui L1Cal_IIb_Tcc L1Cal_IIb_Gui

L1Cal IIb Control Software L1Cal_IIb_Gui (Graphical Interface) –GUI on L1Cal TCC and/or remote computer –Zero, One, or more GUI connected at a given time –Not in the path of data taking, COOR control, etc –Not in the path of monitoring operation –All new code for run IIb –Use Python with Tkinter plus C++ extension for ITC –GUI is extended with external python command files (arbitrary complex, e.g. ADF-2 production test)

Reference: Example L1Cal GUI dialogs

Reference: Example L1Cal GUI Console/LogFile

L1Cal IIb Control Software GUI extensions with Python Command Files –Call functions to perform any action the GUI supports: VME R/W, Config FPGA, program resources,... –Receive reply from Control Program (e.g. value read) –Recursive call to lower level command files while passing parameters (e.g. card address) –Also allow Control Waveform Generator and Multiplexer (for ADF initial tests and cabling sidewalk tests) –Allow interactive user input (e.g. enter card S/N) –Write test logfiles, or any other files e.g. plot files –Execute OS commands, e.g. view plots –In some sense: a python interface to L1Cal, and more

Reference: Example GUI command file code excerpt... for SlotNum in range(2,SlotNumMax+1) : # i.e. slots 2,...21 # Load T7 Firmware Config_Fpga ( MasterNum = MasterNum, SlaveNum = SlaveNum, SlotNum = SlotNum, FpgaMask = 0x3, # 1: fpga#0, 2: fpga#1, 3: both BitStream = BitStreamDir + T7_FirmwareName ) # Initialize Card Adf_InitCard ( MasterNum = MasterNum, SlaveNum = SlaveNum, SlotNum = SlotNum ) # park the shifters Exec_ComFile ( ComFile = CommandFileDir+'Setup_Stop_PRN_Shifters.cmd', ArgDict = ArgDict ) # Load the pseudorandom seeds for TTNum in range(16) : FpgaThisTTNum = TTNum / 8 TTNumThisFpga = TTNum % 8 # load the PRN seed for this EM channel EMSeedRegAddr = 0x2000 * TTNum + 0x Rio_Write( MasterNum = MasterNum, SlaveNum = SlaveNum, SlotNum = SlotNum, ChipNum = FpgaThisTTNum, RegAddr = EMSeedRegAddr, DataOut = PseudoRandomSeeds[2*TTNum+0] )...

L1Cal IIb Control Software L1Cal_IIb_TCC (Control Code) –Leveraged current L1 TCC code –Use C++ for robustness and execution speed –Software actually performing the VME IOs –Control and monitor both ADF and TAB/GAB –Interface presenting one L1CAL to COOR, Monitoring –Support local command files (like Run IIa) –Keeps a Logfile of all actions

Reference: Example L1Cal TCC Console/LogFile

Interface with TAB/GAB Hardware/Software Commissioning/Tests –Current and future Nevis Test programs can be used for tests or diagnostics Physics Running = L1Cal_IIb_TCC (only) –Call Nevis C code (common with Tests) to configure, initialize, program the TAB/GAB –Only tried with trivial case so far, more shortly

L1Cal IIb Control Software L1Cal_IIb_TCC main functions –Control Configuration –After power up Initialization –Defined initial state for COOR Programming –Run-dependent requirements from COOR –Monitoring –Tests/Diagnostics

Interface to COOR –Current highest priority is defining the syntax for COOR to program run dependent resources (references, parameters, thresholds, etc) e.g. “L1CAL_Ref_Set Jet_Et_Ref_Set 0 TT_Eta(-20:20) TT_Phi(1:32) Energy_Threshold 10.0” –Most programmable resources are in TAB/GAB –Philippe is working with Hal and Mike to produce a document defining the outside view of the system to COOR/Scott –Implementation will leverage syntax parsing from IIa and call TAB/GAB code provided by Mike(&Philippe)

Reference: Interface to COOR Ref. L1Cal IIa programming 1ct_message_syntax.txt 1ct_message_syntax.txt Ref: L1Cal IIb resources rms/coor_params.html rms/coor_params.html

L1Cal Monitoring (Control aspect of) Serve L1Cal Monitoring Data –Subset of events tagged for monitoring (~1 per 5s) Hardware programmed to capture snapshot Capture not just triggered crossing (whole turn for ADF-2) –L1Cal TCC reads data from hardware e.g. TT ADC counts (ADF-2 Outputs, TAB inputs) –Oversampled data ADF-2 raw 4x oversampled data For calibration/verification Special mode: set TT threshold to wait/capture bigger pulse –Server Infrastructure ported from IIa