Preparing software for LTU T.Blažek, V.Černý, M.Krivda, R.Lietava, M.Mojžiš Bratislava, Birmingham TDAQ working group meeting, CERN, March 24, 2010 1.

Slides:



Advertisements
Similar presentations
Categories of I/O Devices
Advertisements

EXTERNAL COMMUNICATIONS DESIGNING AN EXTERNAL 3 BYTE INTERFACE Mark Neil - Microprocessor Course 1 External Memory & I/O.
RPC Trigger Software ESR, July Tasks subsystem DCS subsystem Run Control online monitoring of the subsystem provide tools needed to perform on-
 Introduction Originally developed by Open Software Foundation (OSF), which is now called The Open Group ( Provides a set of tools and.
ALICE Trigger System Features Overall layout Central Trigger Processor Local Trigger Unit Software Current status On behalf of ALICE collaboration:D. Evans,
UMD Jan Overview Fanout Card (in GLOBAL mode) Fanout Card (in CRATE mode) Fanout Card (in CRATE mode) Fanout Card (in CRATE mode) Unique board for.
© Lethbridge/Laganière 2001 Chap. 3: Basing Development on Reusable Technology 1 Let’s get started. Let’s start by selecting an architecture from among.
1 DNS,NFS & RPC Rizwan Rehman, CCS, DU. Netprog: DNS and name lookups 2 Hostnames IP Addresses are great for computers –IP address includes information.
Monitoring systems COMET types MS55 & MS6 MS55/MS6 Configuration.
28 June 2004 ATLAS SCT/Pixel TIM FDR/PRR Martin Postranecky TIM OVERVIEW1 ATLAS SCT/Pixel TIM FDR/PRR 28 June 2004 Physics & Astronomy HEP Electronics.
Input/Output. Input/Output Problems Wide variety of peripherals —Delivering different amounts of data —At different speeds —In different formats All slower.
Status of the digital readout electronics Mauro Raggi and F. Gonnella LNF Photon Veto WG CERN 13/12/2011.
Global Trigger H. Bergauer, K. Kastner, S. Kostner, A. Nentchev, B. Neuherz, N. Neumeister, M. Padrta, P. Porth, H. Rohringer, H. Sakulin, J. Strauss,
11 CTP Training A.Jusko, M. Krivda and R.Lietava..
End HomeWelcome! The Software Development Process.
CS 390- Unix Programming Environment CS 390 Unix Programming Environment Topics to be covered: Distributed Computing Fundamentals.
1 Alice DAQ Configuration DB
Status of Data Exchange Implementation in ALICE David Evans LEADE 26 th March 2007.
Markus Joos, EP-ESS 1 “DAQ” at the El. Pool Aim and preconditions Hardware Operating system support Low level software Middle level software High level.
SITRA Test beams Simulations Zdeněk Doležal Charles University Prague Annual EUDET meeting Munich October 2006.
ODE Workshop, LIP, 07-08/04/05 SRP: Software Irakli MANDJAVIDZE DAPNIA, CEA Saclay, Gif-sur-Yvette, France.
Processes and Threads Processes have two characteristics: – Resource ownership - process includes a virtual address space to hold the process image – Scheduling/execution.
Data Acquisition for the 12 GeV Upgrade CODA 3. The good news…  There is a group dedicated to development and support of data acquisition at Jefferson.
DAQ & ECS for TPC commissioning A few statements about what has been done and what is still in front of us F.Carena.
Online Calibration of the D0 Vertex Detector Initialization Procedure and Database Usage Harald Fox D0 Experiment Northwestern University.
André Augustinus 10 September 2001 DCS Architecture Issues Food for thoughts and discussion.
Local Trigger Unit (LTU) status T. Blažek, V. Černý, M. Kovaľ, R. Lietava Comenius University, Bratislava M. Krivda University of Birmingham 30/08/2012.
Challenges in KeyStone Workshop Getting Ready for Hawking, Moonshot and Edison.
112 Case of C/S Client/Server Security Client/Server on the Internet Distribute DBMS Distributed Programming Distributed Object-Oriented Computing Distribute.
Claudia-Elisabeth Wulz Anton Taurok Institute for High Energy Physics, Vienna Trigger Internal Review CERN, 6 Nov GLOBAL TRIGGER.
DABCDABC J. Adamczewski-Musch, H.G. Essel, S. Linev Software development for CBM DAQ J. Adamczewski-Musch, H.G. Essel, S.
Local Trigger Unit for NA62 Marián Krivda 1), Cristina Lazzeroni 1), Vlado Černý 2), Tomáš Blažek 2), Roman Lietava 1)2) 1) University of Birmingham, UK.
R. Fantechi. TDAQ commissioning Status report on Infrastructure at the experiment PC farm Run control Network …
Rome 4 Sep 04. Status of the Readout Electronics for the HMPID ALICE Jose C. DA SILVA ALICE.
Chapter 7 Pointers: Java does not have pointers. Used for dynamic memory allocation.
FED RAL: Greg Iles5 March The 96 Channel FED Tester What needs to be tested ? Requirements for 96 channel tester ? Baseline design Functionality.
VME Access Test Program int main(int argc, long Data1, long Data, long Data2, long Data3, long a, long dw, long dv, long b, long c, long Da32, long Da1,
Interrupt driven I/O. MIPS RISC Exception Mechanism The processor operates in The processor operates in user mode user mode kernel mode kernel mode Access.
Wiimote/Kinect Lab Midterm Update Senior Design December 2011, Group 16 Adviser: Dr. Tom Daniels Brenton Hankins Rick Hanton Harsh Goel Jeff Kramer.
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.
INFORMATION TECHNOLOGY
Source Controller software Ianos Schmidt The University of Iowa.
Installation status Control Room PC farm room DetectorsEB Infrastructure 918 ECN3.
Lecture 4 Mechanisms & Kernel for NOSs. Mechanisms for Network Operating Systems  Network operating systems provide three basic mechanisms that support.
TTC for NA62 Marian Krivda 1), Cristina Lazzeroni 1), Roman Lietava 1)2) 1) University of Birmingham, UK 2) Comenius University, Bratislava, Slovakia 3/1/20101.
Clock and Trigger T. Blažek, V. Černý, M. Kovaľ, R. Lietava Comenius University Bratislava M. Krivda University of Birmingham.
Interrupt driven I/O Computer Organization and Assembly Language: Module 12.
TDAQ Experience in the BNL Liquid Argon Calorimeter Test Facility Denis Oliveira Damazio (BNL), George Redlinger (BNL).
Week1: Introduction to Computer Networks. Copyright © 2012 Cengage Learning. All rights reserved.2 Objectives 2 Describe basic computer components and.
“Planning for Dry Run: material for discussion” Gianluca Lamanna (CERN) TDAQ meeting
October Test Beam DAQ. Framework sketch Only DAQs subprograms works during spills Each subprogram produces an output each spill Each dependant subprogram.
Test Software for EMT Paul Padley Rice University May, 2005.
Management of the LHCb DAQ Network Guoming Liu *†, Niko Neufeld * * CERN, Switzerland † University of Ferrara, Italy.
The DCS Databases Peter Chochula. 31/05/2005Peter Chochula 2 Outline PVSS basics (boring topic but useful if one wants to understand the DCS data flow)
NA 62 TTC partition timing T.Blažek, V.Černý, R.Lietava, M.Kovaľ, M.Krivda Bratislava, Birmingham We are developing procedures for timing parameter adjustment.
The NA62RunControl: Status update Nicolas Lurkin School of Physics and Astronomy, University of Birmingham NA62 TDAQ Meeting – CERN, 10/06/2015.
XML scheme for configuration data V.Černý on behalf of the Bratislava group Initiated by Marco’s call:...a software layer for implementing the handling.
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
PC-based L0TP Status Report “on behalf of the Ferrara L0TP Group” Ilaria Neri University of Ferrara and INFN - Italy Ferrara, September 02, 2014.
Online clock software status
Software Overview Sonja Vrcic
Production Firmware - status Components TOTFED - status
ALICE Trigger Upgrade CTP and LTU PRR
L0 processor for NA62 Marian Krivda 1) , Cristina Lazzeroni 1) , Roman Lietava 1)2) 1) University of Birmingham, UK 2) Comenius University, Bratislava,
The Client/Server Database Environment
CS 286 Computer Organization and Architecture
ProtoDUNE SP DAQ assumptions, interfaces & constraints
Trigger system Marián Krivda (University of Birmingham)
M. Krivda for the ALICE trigger project, University of Birmingham, UK
L2 CPUs and DAQ Interface: Progress and Timeline
Presentation transcript:

Preparing software for LTU T.Blažek, V.Černý, M.Krivda, R.Lietava, M.Mojžiš Bratislava, Birmingham TDAQ working group meeting, CERN, March 24,

Trigger and LTU (local trigger unit) L0 processor LTU + TTCex LTU + TTCex LTU + TTCex LTU + TTCex 40 MHz clock source TTC partition TTCrx Trigger inputs QPLL FEE CHOKE/ ERROR Triggers Clock + Triggers 2

LTU modes of operation Global mode – Receive triggers from L0 processor and send them to TTC Standalone mode – Emulate L0 processor – triggers Snapshot memory – 27 ms Counters Data for slow control 3

VME processor LTU 4 LTU: where it sits devel. phase: in the lab, where the subdetector is developed prod. phase: in the experimental area, all LTU’s together

VME processorVME driverLTU VME driver maps VME address space into pc address space LTU is controlled be reading and writing registers in the VME address space Outer world communicates with VME processor via TCP/IP LTU access 5

Our development system We have started software development using VME crate in Birmingham Linux VME processor with vme_rcc driver Alice LTU’s in the crate Alice’s LTU will be changed to Marian Krivda’s NA62 LTU when ready. Similar system must be set-up in the each lab where the subdetectors are developed to use LTU in the standalone mode emulating trigger sequences 6

What software for LTU is being developed 1.testing to provide support for testing the produced LTU boards for hardware errors 2.run-time to provide support for run-time control mechanisms 3.slow control to provide support for communication with slow control system 4.local to support usage for subdetector control and development when the LTU works in the standalone mode without central processor (CP) 5.expert to support full access of an expert to the LTUs 7

VME processorVME driverLTU DIM server DIM clients 8 Client-server software development phase

VME processorVME driverLTU DIM server DIM clients DIMserver LTU 9 production phase

DIM client –server design modular system, single low level module dependent on VME driver used “Egyptean temple” software development management Software is always ready At present: DIM server core (C++) with just a few service modules A few model clients (C++ and Java) as a proof of concept 10

One DIM server for each LTU The server runs as daemon on the VME processor in the LTU rack. All the LTU server are the same, differing just by the server names. The server is registered by the DNS with a unique server name like LTU/CEDAR One DIM Name Server (DNS) for the whole NA62 Many services run on the LTU server Each service is registered by the DNS by a unique name like LTU/CEDAR/TEMPERATURE Each client asks the DNS who provides the service like LTU/CEDAR/TEMPERATURE and registers for the service. This is done by the DIM system and is completely transparent for the user 11 DIM structure

TO do: list of services to be provided for non-expert use list of services for use by the slow-control system list of services for use of the run-control and monitoring DIM LTU server runs on the VME processor in the crate several (6) LTU in one crate each having its DIM server daemon all services for one LTU run as one DIM server daemon all servers are identical, differing just by name 12

DIM LTU client runs on a PC anywhere in the “outside world” Two kinds of clients GUI clients run interactively (provided by us) clients as pieces of software in a third party software like run control, slow control... (Here we provide API documentation) 13

#include using namespace std; int main(int argc, char **argv){ longlong address=0x1a8; longlong writevalue = 1234; longlong data[2]; //array container to carry two longlong numbers through DIM data[0]=address; data[1]=writevalue; void * pdata = (void *)data; DimRpcInfo lw("LTU/TEST/WRITE",0xff LL); lw.setData(pdata,sizeof(data)); //sends the RPC input data longlong out=lw.getLonglong(); //get output cout<< out<<"\n"; DimRpcInfo lr("LTU/TEST/READ",0xff LL); lr.setData(address); out=lr.getLonglong(); cout<< out<<"\n"; } DEMO of DIM LTU client API 14

An expert can interactively do anything with LTU already now Everything can be done by writing data to proper registers and reading back the register values DIM server provides services LTU/????/WRITE LTU/????/READ as DIM RPC’s (remote procedure call) Core DIM LTU service READ and WRITE 15

16

17

18

19

20

21

22

DimRpcInfo lt("LTU/TEST/TEMPERATURE",0xff LL); out=lt.getLonglong(); The slow control software client would contain the following code snippet: Some clients will be more sophisticated. Reading LTU snapshot memory will provide record of inputs outputs and LTU states for the past 27 msec and will be graphically displayed as “communico- scope” 23

TO do: list of services to be provided for non-expert use list of services for use by the slow-control system list of services for use of the run-control and monitoring Comments to: (Vlado Cerny) (Roman Lietava) 24