Test Software for EMT Paul Padley Rice University May, 2005.

Slides:



Advertisements
Similar presentations
First Tests of a GTL-Prototype-Card using XDAQ S. Kostner, J. Strauss and A. Taurok (Hephy, Vienna) with help from J. Gutleber (CERN)
Advertisements

 2003 Prentice Hall, Inc. All rights reserved. 1 Functions and Recursion Outline some useful problems.
CPT Week, Nov 2003, B. Paul Padley, Rice University1 CSC Trigger Status, MPC and Sorter B. Paul Padley Rice University November 2003.
Sector Processor – to – Muon Sorter tests M.Matveev Rice University January 8, 2004.
1 Text File I/O Chapter 6 Pages File I/O in an Object-Oriented Language Compare to File I/O in C. Instantiate an ofstream object. Like opening.
1 Engineering Problem Solving With C++ An Object Based Approach Chapter 4 Programming with Data Files.
Computer Skills2 for Scientific Colleges 1 File Processing in C++ Data is stored in files so that it may be retrieved for processing when needed.
1 11/3/08CS150 Introduction to Computer Science 1 Reading from and Writing to Files Section 3.12 & 13.1 & 13.5.
1 Programming with Data Files Chapter 4 2 Standard Input Output C++ Program Keyboard input cin Output Screen cout.
COMP102 – Programming Fundamentals I LA2B (Mon 5-7pm) LA2E (Fri 3-5pm) LA2F (Fri 5-7pm) TA: Jackie Lo.
1 Programming with Data Files Chapter 4. 2 Standard Input Output C++ Program Keyboard input cin Output Screen cout.
Sahar Mosleh California State University San MarcosPage 1 While Loop and For Loop.
Jay Hauser, Emu meeting at Florida, 9 January CSC Trigger Meeting Summary Cast of many.
Intro. to Game Programming Want to program a game?
CSC Trigger Report: Results from June 25 ns beam test Production plans Software Darin Acosta University of Florida.
TB2004 DAQ Code Development Status & Prospect. July 1, 2004TB2004 DAQ Code Development2 Contents 1.TB status –run control –peripheral/FED crate –DAQ column.
String Constructors string str; // creates an empty //string string str(“abc”); // creates a string // from a C-string string str(aString); // creates.
ODE Workshop, LIP, 07-08/04/05 SRP: Software Irakli MANDJAVIDZE DAPNIA, CEA Saclay, Gif-sur-Yvette, France.
Gregory PawloskiAugust 22, 2002 MPC Testing Progress.
Status of the CSC Track-Finder Darin Acosta University of Florida.
Summary of CSC Track-Finder Trigger Control Software Darin Acosta University of Florida.
1 Streams In C++, I/O occurs in streams. A stream is a sequence of bytes Each I/O device (e.g. keyboard, mouse, monitor, hard disk, printer, etc.) receives.
CSC EMU Muon Sorter (MS) Status Plans M.Matveev Rice University August 27, 2004.
CSC Endcap Muon Port Card and Muon Sorter Upgrade Status May 2013.
CPT Week, April 2001Darin Acosta1 Status of the Next Generation CSC Track-Finder D.Acosta University of Florida.
CSC Endcap Muon Port Card and Muon Sorter Status Mikhail Matveev Rice University.
1 Original Source : and Problem and Problem Solving.ppt.
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,
CSC Track-Finder Plans for Commissioning at Bat.904 and Point 5 Darin Acosta University of Florida.
Quiz 2 Results. What Is Wrong? #include using namespace std int Main() { // Say Hello 4 times for(i == 0; i < 3; i++) { cout >> "Hello World!"
Track-Finder Test Beam Results Darin Acosta. Darin Acosta, University of Florida 30 July 2004 Trigger Meeting CSC Beam Test (Muon Slice Test) ME.
1 The TrackFinder GUI D. Acosta, L. Gray, N. Park, H. Stöck University of Florida.
Tridas Week, November 2000Darin Acosta1 Status of the CSC Track-Finder D.Acosta, A.Madorsky, S.M.Wang University of Florida B.Cousins, J.Hauser, J.Mumford,
1 Getting Started with C++ Part 2 Linux. 2 Getting Started on Linux Now we will look at Linux. See how to copy files between Windows and Linux Compile.
S. Durkin, Software Review, March 16, 2006 FED Library S. Durkin The Ohio State University CSC Online Software Review, March 16,2005.
Input/Output CSci 588: Data Structures, Algorithms and Software Design Fall 2011 All material not from online sources copyright © Travis Desell, 2011
Engineering Problem Solving with C++, Second Edition, J. Ingber 1 Engineering Problem Solving with C++, Etter/Ingber Chapter 4 Working with Data Files.
M.Matveev Rice University March 20, 2002 EMU Muon Port Card Project.
W. Smith, U. Wisconsin, US CMS DOE/NSF Review, May, 2004 Trigger Report - 1 CSC on-detector peripheral crate SBS VME Controller Muon Port Card: Output.
XTRP Software Nathan Eddy University of Illinois 2/24/00.
SX5: YE+2Counting House iBoot NPS emu slice0 2 emu slice0 1 Emu dqm Peripheral Crate DMB TMB DMB TMB DMB TMB DMB TMB MPC CCB DMB TMB DMB TMB DMB TMB DMB.
Software for tests: AMB and LAMB configuration - Available tools FTK Workshop – Pisa 13/03/2013 Daniel Magalotti University of Modena and Reggio Emilia.
1 17/4/1435 h Monday Lecture 3 The Parts of a C++ Program.
Chapter 6 Looping. 2 l A loop is a repetition control structure. l it causes a single statement or block to be executed repeatedly What is a loop?
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,
File Processing in C++ Data is stored in files so that it may be retrieved for processing when needed.
Microsoft Imagine All KU students currently enrolled in a CS class are eligible to receive Microsoft software, including Operating Systems development.
Update on CSC Endcap Muon Port Card
CSC EMU Muon Port Card (MPC)
CMS EMU TRIGGER ELECTRONICS
CSCI 161: Introduction to Programming
FILE INPUT OUTPUT Skill Area 315 Part B Materials Prepared by
Random Number Generation
Basic File I/O and Stream Objects
CSC Trigger Muon Port Card & Sector Processor in production
Starting Out with C++: From Control Structures through Objects
Programming with Data Files
الوحدة الرابعة البرمجة وصياغة حل المسائل البرمجة وأهميتها أهداف الدرس الأول مفهوم البرمجة. الفرق بين المبرمج ومستخدم البرنامج. الحاجة إلى البرامج.
CSC Trigger Meeting Summary
File Processing in C++ Data is stored in files so that it may be retrieved for processing when needed.
CS150 Introduction to Computer Science 1
Statements and flow control
Reading from and Writing to Files
Programming with Data Files
Sector Processor Status Report
Reading from and Writing to Files Part 2
Introduction to Algorithms and Programming COMP151
CSC Muon Sorter Status Tests Plans M.Matveev August 21, 2003.
Reading from and Writing to Files
Plans for the 2004 CSC Beam Test
Presentation transcript:

Test Software for EMT Paul Padley Rice University May, 2005

May 2005 EMT Test Software 2 Hierarchy of Test Software Test Main Function Emt Crate Emt VME Board Utility VME Board -Read / Write: accesses to a register using HAL -VME controller dependent (using SBS620 now) - Common for all EMT boards - Xml file provides address-register interface - Runs a test - Script / GUI interface - Contains board level macros - Prepared for MPC and MS for now - Configures peripheral/TF crate - Controls board to board interactions

May 2005 EMT Test Software 3 Main Function #include "emtCrate.h" using namespace std; int main() { int iterations; cout << “Type the number of test iterations.” << endl; cin >> iterations; ifstream tfCrateConfigFile("tfCrate.config"); EmtCrate tfCrate(tfCrateConfigFile, k_busAdapterUnit[0]); // create a crate object ConfigureCCB(tfCrate, "CCB"); for(int i(0); i<iterations; ++i) { cout << "Test result: " << tfCrate.msRandomSelfTest() << endl; } return 0; }

May 2005 EMT Test Software 4 Running a Test Program Script (macro file) #!/bin/sh ITERATIONS=$1 LOG_FILE=log.ms_self_test_${ITERATIONS} if [ -f ${LOG_DIR}/${LOG_FILE} ]; then; rm -f ${LOG_DIR}/${LOG_FILE}; fi./msSelfTest.exe $LOG_FILE 2>&1 $ITERATIONS EOF exit Run with test 100 iterations $./run_msMsSelfTest 100 &

May 2005 EMT Test Software 5 Test Methods Stand-alone Test  MPC and MS Input FIFO’s Output FIFO’s Inject random patterns Check content Transmit data

May 2005 EMT Test Software 6 Test Method (2) TMB-MPC-SP Chain Tests 9 TMB’sMPCSP Inject random patterns Check the content of FF spy FIFO Check winner bits Peripheral Crate TF Crate Optical Link

May 2005 EMT Test Software 7 Test Method (3) SP/MT-MS Chain Tests (use up to 12 MT’s) SP/MTMS Inject random patterns into test point 3Check the content of output FIFO Check winner bits TF Crate

May 2005 EMT Test Software 8 Test Method (4) MS-GMT Chain Tests MSGMT Inject output patterns into MS RAMCheck the data transmission TF Crate

May 2005 EMT Test Software 9 Test Method (5) TMB-MPC-SP-MS Chain Tests 9 TMB’sMPCSP Inject random patterns Check content of FF spy FIFO Check winner bits Peripheral Crate TF Crate Check winner bits MS Check content of output FIFO Check SP output Optical Link

May 2005 EMT Test Software 10 Test Software Status and Plan Status  Test software GUI is ready.  Programs to download CCB/MPC/MS firmware through VME are running.  Running CCB/MPC/MS production tests at Rice. Plan  Make it possible to run the test software with other VME controllers.  Accommodate “xdaq” into the test software.