XML file structure. Why and How XML data format? XML is a language generally used over internet. In our case is one of the requirements of the American.

Slides:



Advertisements
Similar presentations
1 Demystifying metadata Ann Chapman UKOLN University of Bath UKOLN is funded by Resource: The Council for Museums, Archives and Libraries, the Joint Information.
Advertisements

4. Internet Programming ENG224 INFORMATION TECHNOLOGY – Part I
Internet Applications Development Lecture 2 L. Obead Alhadreti.
Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
KompoZer. This is what KompoZer will look like with a blank document open. As you can see, there are a lot of icons for beginning users. But don't be.
COS 125 Internet Fundamentals and Web Page Design Day 3.
Using Macros and Visual Basic for Applications (VBA) with Excel
System Design System Design - Mr. Ahmad Al-Ghoul System Analysis and Design.
Basic Powerpoint NEXT. Viewing Your Slides Click on Slide Show and on View Show. The slide show will automatically be displayed on the screen.
Overview  Recap  HTML. Recap  What is cloud computing?  What are application service providers (ASPs)?  Describe major functions of operating systems.
This presentation is intended as a detailed WebEx, to bring potential customers to an understanding of Dream Report capabilities. This presentation focuses.
Exploring Microsoft Word
University of Southern California Enterprise Wide Information Systems ABAP/ 4 Programming Language Instructor: Richard W. Vawter.
Computer Science 103 Chapter 2 HyperText Markup Language (HTML)
Office 2003 Post-Advanced Concepts and Techniques M i c r o s o f t Word Project 8 Working with Macros and Visual Basic for Applications (VBA)
CHARACTERS Data Representation. Using binary to represent characters Computers can only process binary numbers (1’s and 0’s) so a system was developed.
Tutorial 1: Getting Started with HTML5
CPSC 203 Introduction to Computers Lab 39, 40 By Jie (Jeff) Gao.
Chapter 1 Variables in the Web Design Environment.
Chapter 1 Variables in the Web Design Environment
ITD 3194 Web Application Development Chapter 4: Web Programming Language.
ULI101 – XHTML Basics (Part II) What is Markup Language? XHTML vs. HTML General XHTML Rules Block Level XHTML Tags XHTML Validation.
INSERT BOOK COVER 1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Excel 2010 by Robert Grauer, Keith.
SAP ABAP DemoNawin's Training Acadamy1. Enterprise Wide Information Systems ABAP/ 4 Programming Language Mr. RG Nawin Krishna, Bsc(cs);Msc(psychology);MBA(HR);SAP(HCM/HR),
CP2022 Multimedia Internet Communication1 HTML and Hypertext The workings of the web Lecture 7.
Integrating JavaScript and HTML5 HTML5 & CSS 7 th Edition.
NATIONAL NODES OF THE BIOSAFETY CLEARING- HOUSE CANADIAN SYSTEM OVERVIEW Caribbean Islands Workshop December 2005 Bridgetown, Barbados.

Excel Ch 6 Review.
15.1 Fundamentals of HTML.
Just Enough HTML How to Create Basic HTML Documents.
Basic HTML PowerPoint How Hyper Text Markup Language Works
INDIANAUNIVERSITYINDIANAUNIVERSITY OneStart page types  Tab – pages across the top, immutable  Section – pages down the left  Subsection – pages under.
Local Alarm Station Data Acquisition, Storage and Visualization for Radiation Portal Monitor (RPM).
1 Using XML. 2 The Ticket Booth System We need a way to retain information between program runs. In real life, we would probably use a database system.
Selected Topics in Software Engineering - Distributed Software Development.
A Genealogy System for the Web Matthew A. Page November 20, 2002.
Parent Portal The txConnect parent portal allows parent’s to monitor their student’s progress in school.
Lecture I.1 Nuclear Structure Observables Alexandru Negret.
Lecture-5 Miscellaneous. Random Numbers Can use ‘rand()’ function declared in the stdlib.h header file The seed for random number generation can be set.
GTR Data Inc. Welcome to our EDI Demonstration G.T.R. Data Inc. August 1997.
Chapter 2 Web Page Design Mr. Gironda. Elements of a Web Page These are things that most web pages use.
Introduction to RHESSI Data Analysis Documentation Data Products Access to Data SSW Analysis Modes RHESSI GUI Combining GUI and Command Line RHESSI Objects.
From Baan to Excel, Word, PDF, HTML, XML & Notepad in one click! B2Win 6.0.
15.1 Fundamentals of HTML DeKalb County School System.
Alarm Help. Points to discuss (from Clara) Display Only one line per DPE (fatal, error, warning) Background colour should fill whole row Simple version.
Managed by UT-Battelle for the Department of Energy CSS Update Matthias Clausen, Helge Rickens, Jan Hatje and DESY Delphy Armstrong, Xihui Chen,
HTML Basics Computers. What is an HTML file? *HTML is a format that tells a computer how to display a web page. The documents themselves are plain text.
PHP getting data from a MySQL database. Replacing XML as data source with MySQL Previously we obtained the data about the training session from an XML.
Marking up lattice QCD configurations and ensembles for ILDG Metadata Working Group P.Coddington, B.Joo, C.Maynard, D.Pleiter, T.Yoshie Working group members.
Chapter 11: Introduction to VBA Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University Name.
Website design and structure. A Website is a collection of webpages that are linked together. Webpages contain text, graphics, sound and video clips.
Word 2003 The Word Screen. Word 2003 Screen File Menu –Holds the options for creating a new document, opening a document, saving a document, printing.
30/8/05Lisa Fogarty Testing Detector Arrangements For 22 Na(p,γ) Experiment.
LBSC 690 Session 4 Programming. Languages How do we learn a language? Learn by listening Then reading Then writing How do we teach programming? Learn.
Notes Test #2 will be held one week from this Thursday Check to see if you have a Vision account –Launch Netscape –Point & Click to location and type vision.
HTML HyperText Markup Language Victoria E. Kozlek.
1 Chapter No. 17 Radiation Detection and Measurements, Glenn T. Knoll, Third edition (2000), John Willey. Measurement of Timing Properties.
EMResource Reports Procedures Update. To retrieve the status information associated to your facility, there are two reports that you will need. Status.
ARM7 Architecture What We Have Learned up to Now.
Using XML. The Ticket Booth System We need a way to retain information between program runs. In real life, we would probably use a database system for.
COMPREHENSIVE Excel Tutorial 12 Expanding Excel with Visual Basic for Applications.
“Port Monitor”: progress & open questions Torsten Wilde and James Kohl Oak Ridge National Laboratory CCA Forum Quarterly Meeting Santa Fe, NM ~ October.
Local Alarm Station Data Acquisition, Storage and Visualization for Radiation Portal Monitor (RPM).
Statistics in SPSS Lecture 3
Integrating JavaScript and HTML
Web Design 1 Website Construction.
Software Requirements Specification (SRS) Template.
MAP 2014 Spring Workshop Fermilab May, 2014
Real-World File Structures
Presentation transcript:

XML file structure

Why and How XML data format? XML is a language generally used over internet. In our case is one of the requirements of the American National Standard Data Format Standard for Radiation Detectors Used for Homeland Security and the JRC test used to represent our data We decided to proceed having 2 different data formats. The first is the ASCII file used for the analysis and the second is the XML, which is an sub-ensemble of the first one. The procedure adopted is: decide the XML structure followed by the C++ macro which generates the XML file starting from the ASCII file.

Possible XML File structure Header Place & Date Measurement Type Environmental variables N and gamma energy range Background levels Central part Data End of file Measurement time range N and gamma counts N and gamma rates Alarm settings Alarms Summary First idea of a possible data structure of the XML data file. XML File: SUMMARY of the measurement results and NOT the data file used for the analysis. I considered the detector structure for the file example: Portal with 2 arms of 2bars each and with each bar made by 4 detectors. Arms: Arm 1 and Arm 2 (We have now only 1 side of the “portal”) Bars: Bar1 and Bar2 Detectors: Right side: R1 and R2 Left side: L1 and L2 With 1 and 2 and left-right arbitrary chosen (for the moment)

N42(2006) XML Structure XML is language with a hierarchical structure used to store&list data. The following scheme is the specific structure of the N42 (2006) format In our case (RPM) the spectrum and the NuclideAnalsysis element is not necessary. (They were developed for energy spectra) I started to use to N42 (2006) format, but I will switch to the newest one (2011). The main differences are more specific number and higher number of elements to use

Header Example Result Time, Names and Values are random number…. Browser display: EXAMPLE HEADER Genova RPM INFN ed Ansaldo Prototype 1 List Mode User T14:36: :00 R R L L Real meaning: COMMENT COMMENT (TITLE OF THE 1° PART) PLACE EXPERIMENT MANIFACTURERS MODEL MEASUREMENT USER DATE BACKGROUND MEASUREMENT DETECTOR BACKGROUND COUNTS BETWEEN 100keV AND 200keV BACKGROUND COUNTS BETWEEN 200keV AND 1000keV and so on for R2, L1 and L2 All the info are in the code, but it seems that a normal browser is not enough to show the hierarchical structure of the code.

Displayed: R Translation: DETECTOR BACKGROUND COUNTS BETWEEN 100keV AND 200keV BACKGROUND COUNTS BETWEEN 200keV AND 1000keV Code: R1 <GrossCountMeasurement WindowStart="100" WindowEnd="200"> <GrossCountMeasurement WindowStart="200” WindowEnd="1000"> => All the info are in the code, but it seems that a normal browser is not enough to show the hierarchical structure of the code Zoom

The final printed draft of the XML file is: EXAMPLE HEADER Genova RPM INFN ed Ansaldo Prototype 1 List Mode User T14:36: :00 PT1013.4S R R L L END of File Information of the alarm settings Count for Arm1-Bar1: TOT Gamma Neutrons Total Rates for Arm1-Bar1: Gamma Neutrons T14:36: :00 Total counts: TOT Gamma Neutrons Gamma alarm and Neutron alarm 1 0 Total Rates: Gamma Neutrons 4 2 Possible State: Probable NORM. Alarm active for gamma radiations: YES. Alarm active for neutron radiation: NO. Error messages: NO. Detector status: ACTIVE. I am thinking to go further on these sides: 1)I am thinking that it is mandatory 1 reader able to show the hierarchical structure of the file, better if free Suggestions? 2)Switch to the better N42(2011) scheme 3)With Gabriele and Raffaella we were were talking about which data we would like to use and how to organize them in the ASCII and XML file 4)Start to write a code able to generate, starting from the ASCII data file, the XML one Final draft

Possible XML File structure Fisrt IdeaImplementedComments Header Place & DateDate MissingDate to be inserted in the central part Measurement TypeDoneTypes: Test, Measurement, Background Users: User & Superuser Environmental variablesMissingThere are no specific and predefined N42 elements to use (except use a note) N and gamma energy rangeMissingProperty of the RPM? If yes it is simple to implement Background levelsDone Central part DataMissingWe discussed how to do it, but not implemented End of file Measurement time rangeMissingTo be inserted in the central part (following the N42 element) N and gamma countsDone N and gamma ratesDoneThe total one, rates as a function of time to be inserted in the central part. Alarm settingsDoneWritten as a comment AlarmsMissingTo be inserted in the central part SummaryDoneSummary of the number of alarm, detector state and of the data

Header Already implemented Detector: RPM Measurement: Measure, Calibration, Test, Other User:User, SuperUser Other possible ideas… UUID (Universally unique identifier) N. of samples and precision used for the signal integral Trigger parameters set for the measurement Central part End of File Other info to consider…