Functionality of DAQ-Middleware

Slides:



Advertisements
Similar presentations
Welcome to Middleware Joseph Amrithraj
Advertisements

Computer Monitoring System for EE Faculty By Yaroslav Ross And Denis Zakrevsky Supervisor: Viktor Kulikov.
A CHAT CLIENT-SERVER MODULE IN JAVA BY MAHTAB M HUSSAIN MAYANK MOHAN ISE 582 FALL 2003 PROJECT.
INTERNET DATABASE. Internet and E-commerce Internet – a worldwide collection of interconnected computer network Internet – a worldwide collection of interconnected.
Client/Server Architectures
INTRODUCTION TO WEB DATABASE PROGRAMMING
The Application of DAQ-Middleware to the J-PARC E16 Experiment E Hamada 1, M Ikeno 1, D Kawama 2, Y Morino 1, W Nakai 3, 2, Y Obara 3, K Ozawa 1, H Sendai.
Automatic Software Testing Tool for Computer Networks ADD Presentation Dudi Patimer Adi Shachar Yaniv Cohen
Artdaq Introduction artdaq is a toolkit for creating the event building and filtering portions of a DAQ. A set of ready-to-use components along with hooks.
Software Architecture Framework for Ubiquitous Computing Divya ChanneGowda Athrey Joshi.
Computer Emergency Notification System (CENS)
An application architecture specifies the technologies to be used to implement one or more (and possibly all) information systems in terms of DATA, PROCESS,
1 Welcome to CSC 301 Web Programming Charles Frank.
Hwajung Lee.  Interprocess Communication (IPC) is at the heart of distributed computing.  Processes and Threads  Process is the execution of a program.
Online Software 8-July-98 Commissioning Working Group DØ Workshop S. Fuess Objective: Define for you, the customers of the Online system, the products.
Abstract A Structured Approach for Modular Design: A Plug and Play Middleware for Sensory Modules, Actuation Platforms, Task Descriptions and Implementations.
Online Monitoring for the CDF Run II Experiment T.Arisawa, D.Hirschbuehl, K.Ikado, K.Maeshima, H.Stadie, G.Veramendi, W.Wagner, H.Wenzel, M.Worcester MAR.
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
Online Monitoring System at KLOE Alessandra Doria INFN - Napoli for the KLOE collaboration CHEP 2000 Padova, 7-11 February 2000 NAPOLI.
Intro to Web Services Dr. John P. Abraham UTPA. What are Web Services? Applications execute across multiple computers on a network.  The machine on which.
TDAQ Experience in the BNL Liquid Argon Calorimeter Test Facility Denis Oliveira Damazio (BNL), George Redlinger (BNL).
M. Caprini IFIN-HH Bucharest DAQ Control and Monitoring - A Software Component Model.
January 2010 – GEO-ISC KickOff meeting Christian Gräf, AEI 10 m Prototype Team State-of-the-art digital control: Introducing LIGO CDS.
Online Software November 10, 2009 Infrastructure Overview Luciano Orsini, Roland Moser Invited Talk at SuperB ETD-Online Status Review.
Online Data Monitoring Framework Based on Histogram Packaging in Network Distributed Data Acquisition Systems Tomoyuki Konno 1, Anatael Cabrera 2, Masaki.
Retele de senzori EEMon Electrical Energy Monitoring System.
M.-E. Bégin¹, S. Da Ronco², G. Diez-Andino Sancho¹, M. Gentilini³, E. Ronchieri ², and M. Selmi² ¹CERN, Switzerland, ² INFN-Padova, Italy, ³INFN-CNAF,
Wednesday NI Vision Sessions
Development of DAQ-Middleware Y. Yasu a, K. Nakayoshi a, H. Sendai a, E. Inoue a, M. Tanaka a, S. Suzuki a, S. Satoh a, S. Muto a, T. Otomo a, T. Nakatani.
Fermilab Scientific Computing Division Fermi National Accelerator Laboratory, Batavia, Illinois, USA. Off-the-Shelf Hardware and Software DAQ Performance.
© Airspan Networks Inc. Automatic QoS Testing over IEEE Standard.
12. DISTRIBUTED WEB-BASED SYSTEMS Nov SUSMITHA KOTA KRANTHI KOYA LIANG YI.
Distributed Systems Architectures Chapter 12. Objectives  To explain the advantages and disadvantages of different distributed systems architectures.
1 Chapter 1 INTRODUCTION TO WEB. 2 Objectives In this chapter, you will: Become familiar with the architecture of the World Wide Web Learn about communication.
Progress Apama Fundamentals
Architecture Review 10/11/2004
Gu Minhao, DAQ group Experimental Center of IHEP February 2011
Data transmission system for 2D-SND at CSNS
Netscape Application Server
Chapter 2 Database System Concepts and Architecture
Database System Concepts and Architecture
CMS High Level Trigger Configuration Management
WEB SERVICES.
Unit – 5 JAVA Web Services
Controlling a large CPU farm using industrial tools
How SCADA Systems Work?.
Distributed object monitoring for ROOT analyses with Go4 v.3
Progress and Status Report
Distributed web based systems
Processes The most important processes used in Web-based systems and their internal organization.
#01 Client/Server Computing
Chapter 16 Designing Distributed and Internet Systems
Ch > 28.4.
Programmable Logic Controllers (PLCs) An Overview.
Some remarks on Portals and Web Services
Web Browser server client 3-Tier Architecture Apache web server PHP
AWS Malaysian Meteorological Service Moving Towards the Future
Lecture 1: Multi-tier Architecture Overview
An Introduction to Software Architecture
Serpil TOK, Zeki BAYRAM. Eastern MediterraneanUniversity Famagusta
Creating a Distributed System with Remote Procedure Calls and Web Services Ch.5 B.Ramamurthy 2/17/2019 B.Ramamurthy.
Middleware, Services, etc.
Design Principles of the CMS Level-1 Trigger Control and Hardware Monitoring System Ildefons Magrans de Abril Institute for High Energy Physics, Vienna.
Cloud-Enabling Technology
Special English for Industrial Robot
AIMS Equipment & Automation monitoring solution
The Performance and Scalability of the back-end DAQ sub-system
Chapter 5 Architectural Design.
Web Technologies Computing Science Thompson Rivers University
#01 Client/Server Computing
Presentation transcript:

Functionality of DAQ-Middleware CMSP-29 Functionality of DAQ-Middleware Yoshiji Yasu, Kazuo Nakayoshi, Hiroshi Sendai, Eiji Inoue KEK, High Energy Accelerator Research Organization, Tsukuba, Japan Abstract Autonomous DAQ component Functionality of DAQ-Middleware is presented with introduction to DAQ-Middleware following its features, which includes detail description of DAQ component with an example of the architecture, system configuration related to configuration database and condition database, WEB interface, finally remote booting of DAQ components. DAQ-Middleware is already used by experiments at J-PARC (Japan Proton Accelerator Research Complex), Tokai, Japan. DAQ component inherits InPort/ OutPort of RT component (RTC) for data port and Consumer/ Provider of RTC for service port. The data port and the service port are used for data path and command/status path, respectively. The main thread is used for core logic including management of command/status flow and data flow. DAQ component does not work just in client/server model , but is autonomous with state machine. What is DAQ-Middleware? DAQ-Middleware is a software framework of network-distributed DAQ system based on Robot Technology (RT) Middleware RT-Middleware is an international standard of Object Management Group (OMG) not only for Robotics but also embedded system The software package of RT-Middleware was developed by National Institute of Advanced Industrial Science and Technology (AIST), Tsukuba, Japan DAQ component is a software unit used to build an integrated DAQ system Data path & Command/status path Parsing condition database & getting configuration database as parameters Core logic with handling both paths DAQ operator is a special DAQ component which controls other DAQ components Dynamic connection of DAQ components of data path and command/status path Controlling DAQ components via command/status path Parsing configuration database and sending the parameters to DAQ components Message passing of XML document interfaced to System interface (WEB interface) System interface (WEB interface) Apache HTTP server with mod_python module Message passing program to communicate with DAQ operator Architecture There are DAQ operator with system interface on a PC, and a basic DAQ unit on a PC. The basic DAQ unit consists of a Gatherer, a Dispatcher, a Logger and a Monitor. User interface control panel on WEB browser communicates with the DAQ operator. The DAQ operator system reads and parses the system configuration written in XML and then stores the parameters as pairs of key and value . When the control panel issues “configure” command, DAQ operator receives the command and then sends the parameters to DAQ components. In same way, the control panel issues “begin” and “end” commands to control the readout, the data logging and the online data analysis. The readout module uses the hardware-based TCP processor called SiTCP. The online histogram using ROOT and online displaying on WEB browser are now available. Types of DAQ component There are several types of DAQ component . One is source type, which is source of data to be sent to another component. An example of this type is Gatherer component for data readout. Another one is sink type. Data received from another component will be processed, but will not be sent to other component. Logger component for logging data and Monitor component for data analysis belong to this type. Dispatcher type is necessary to send data to multiple paths. By using those types of components, an basic DAQ unit was developed for DAQ system of J-PARC/MLF experiments. Additionally, filter type is necessary for conversion of data. Merger type will be used for building event from event fragments or simply gathering data, and then sending them to another component. Remote booting DAQ components will run on multiple PCs. For the booting mechanism, “xinetd” was adopted. The script to run DAQ components on a PC will be sent to the PC, and then xinetd daemon running on the PC will execute the script to run the DAQ components. After DAQ operator and DAQ components run, DAQ operator connects data paths and command/status paths of DAQ components each other according to configuration database, by using RT-Middleware’s naming service daemon, in which the object references of DAQ components are already registered. Communication with WEB interface DAQ-Middleware uses XML/HTTP protocol to communicate with WEB client or other external world. DAQ operator receives commands and sends statuses via System interface, which consists of Apache HTTP server with mod_python module and message passing program to communicate with DAQ operator. In this case of WEB client, Ajax technology has an important role in HTML and Javascript programming to reduce workload. For experiments of J-PARC/MLF, WEB browser is also used for online analysis. Conclusion DAQ-Middleware has minimum functions for network-distributed DAQ system with autonomous DAQ components configured by databases in cooperation with WEB system. Acknowledgment We wish to thank Prof. J. Haba at KEK for his support of this project. This work was performed in next generation DAQ sub-group of the KEK Detector Technology Project at KEK. We also wish to thank N. Ando, T. Kotoku, S. Hirano at AIST for RT-Middleware support. We thank staff of experimental groups at J-PARC/MLF and KEK electronics system group for their help. Configuration & condition databases Both databases are written in XML document. The configuration database describes the system configuration, which is not often modified after the configuration is decided. On the other hand, the condition database describes the parameters of readout hardware module and analysis. The parameters may be changed by run. The configuration is parsed by DAQ operator while the condition database is automatically converted to JSON document by a tool and then is parsed by DAQ component. JSON document was adopted instead of XML document because DAQ component should be as lightweight as possible. After parsing in both cases, a parameter is stored as a pair of key and value. Reference [1] Y. Yasu, E. Inoue, K. Nakayoshi, H.Fujii, Y.Igarashi, H. Kodama, N. Ando, T. Kotoku, T. Suehiro, S. Hirano, Feasibility of data acquisition middleware based on robot technology, CHEP2006 Macmillan Advanced Research Series p458-461 [2] Y. Yasu, K. Nakayoshi, E. Inoue, H. Sendai, H. Fujii, N. Ando, T. Kotoku, S. Hirano, T. Kubota, and T. Ohkawa, A Data Acquisition Middleware, 15th IEEE NPSS Real Time Conference, 2007, doi:10.1109/RTC.2007.4382850 [3] K. Nakayoshi, Y. Yasu, E. Inoue, H. Sendai, M. Tanaka, S. Satoh, S. Muto, N. Kaneko, T. Otomo, T. Nakatani, T. Uchida, Development of a data acquisition sub-system using DAQ-Middleware, Nucl. Instr. and Meth. A 600 (2009) 173-175. [4] K. Nakayoshi, Y. Yasu, H. Sendai, E. Inoue, M. Tanaka, S. Sato, S. Muto, J. Suzuki, T. Otomo, T.Nakatani,, T. Ito, Y. Inamura, M. Yonemura, T. Hosoya, T. Uchida, DAQ-Middleware for MLF/J-PARC, The 1st international conference on Technology and Instrumentation in Particle Physics, March12-17, 2009, Tsukuba, Japan [5] Y. Yasu, K. Nakayoshi, H. Sendai, E. Inoue, M. Tanaka, S. Suzuki, S. Satoh, S. Muto, T. Otomo, T. Nakatani, T. Uchida, N. Ando, T. Kotoku, S. Hirano, Development of DAQ-Middleware, 17th International Conference on Computing in High Energy and Nuclear Physics, 21 - 27 March 2009 Prague, Czech Republic [6] Object Management Group, Specification of Robotic Technology Component (RTC),Version 1.0, http://www.omg.org/spec/RTC/1.0/ [7] N. Ando, T. Suehiro, K. Kitagaki, T. Kotoku, W. K. Yoon, RT-Middleware: Distributed Component Middleware for RT (Robot Technology), 2005 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS2005), pp.3555-3560, 2005.08, Edmonton, Canada [8] T. Uchida, Hardware-Based TCP Processor for Gigabit Ethernet, IEEE Trans. Nucl. Sci. NS 55 (2008) 1631. Configuration database Condition database