Source Controller software Ianos Schmidt The University of Iowa.

Slides:



Advertisements
Similar presentations
This course is designed for system managers/administrators to better understand the SAAZ Desktop and Server Management components Students will learn.
Advertisements

(Systems Analysis INTerface Board)
Software setup with PL7 and Sycon V2.8
Tangent Sterilizer PC Interface System Description System Architecture System Pricing.
Protocol Configuration in Horner OCS
Optimizing Windows Vista Performance Lesson 10. Skills Matrix Technology SkillObjective DomainObjective # Introducing ReadyBoostTroubleshoot performance.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 11: Monitoring Server Performance.
Design and Implementation of a Virtual Reality Glove Device Final presentation – winter 2001/2 By:Amos Mosseri, Shy Shalom, Instructors:Michael.
Introduction. 2 What Is SmartFlow? SmartFlow is the first application to test QoS and analyze the performance and behavior of the new breed of policy-based.
CCNA 2 v3.1 Module 2.
Computer Skills Preparatory Year Presented by: L.Obead Alhadreti.
Computers They're Not Magic! (for the most part)‏ Adapted from Ryan Moore.
Cisco 2 - Routers Perrine & modified by Brierley Page 18/18/2015 Chapter 5 IOS Internet Operating System (IOS)
Automatic Software Testing Tool for Computer Networks ARD Presentation Adi Shachar Yaniv Cohen Dudi Patimer
Shell and Flashing Images Commands and upgrades. RS-232 Driver chip – ST3232C Driver chip is ST3232C Provides electrical interface between UART port and.
Hands-On Microsoft Windows Server 2008 Chapter 1 Introduction to Windows Server 2008.
University of Bergen public domain software: SEISLOG Linux, data-acquisition system for standard PC and embedded lowcost, low-power solutions Terje Utheim.
1 Version 3.1 Module 4 Learning About Other Devices.
Operating Systems Operating System
A modern NM registration system capable of sending data to the NMDB Helen Mavromichalaki - Christos Sarlanis NKUA TEAM National & Kapodistrian University.
Tutorial 11 Installing, Updating, and Configuring Software
The PC The PC is a standard computing platform, built around a EISA bus (1988) –IBM compatible –“Intel Architecture” from Intel or AMD or other companies.
Introducing Dreamweaver MX 2004
Tutorial 1 Getting Started with Adobe Dreamweaver CS3
Dr Masri Ayob TK 2633: Microprocessor & Interfacing Lecture 7: Assembly Language.
SEISLOG Linux presented at the WORKSHOP High Quality Seismic Stations and Networks for Small Budgets Volcan, Panama March, 2004 by Terje Utheim,
Module 7: Fundamentals of Administering Windows Server 2008.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 11: Monitoring Server Performance.
IMPLEMENTATION OF SOFTWARE INPUT OUTPUT CONTROLLERS FOR THE STAR EXPERIMENT J. M. Burns, M. Cherney*, J. Fujita* Creighton University, Department of Physics,
VDSL Statistics Tool Eli Gur Eliad Young Mark Shifrin Instructors: Itzhik Ashkenazi, BATM Itai Dabran, Technion.
Cisco S2 C4 Router Components. Configure a Router You can configure a router from –from the console terminal (a computer connected to the router –through.
INTER REGIONAL PROCESSOR. DESIGN PHILOSOPHY n Based on industry standard pc hardware. n Industrial specification IBM compatible computer running Fylde.
Specview 32 Release 2.5 Enhancements
Guide to Linux Installation and Administration, 2e1 Chapter 2 Planning Your System.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Introduction to Routing and Packet Forwarding Routing Protocols and.
Computer Emergency Notification System (CENS)
Page 110/19/2015 Chapter 5 CCNA2 Chapter 5 Managing Cisco IOS Software.
Troubleshooting Windows Vista Lesson 11. Skills Matrix Technology SkillObjective DomainObjective # Troubleshooting Installation and Startup Issues Troubleshoot.
Turbine Crane CRANES TURBINE NEA39. Turbine Crane PLANT STATUS! PV Daily Status Report.
CE Operating Systems Lecture 3 Overview of OS functions and structure.
Application Block Diagram III. SOFTWARE PLATFORM Figure above shows a network protocol stack for a computer that connects to an Ethernet network and.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 11: Monitoring Server Performance.
Router Fundamentals PJC CCNA Semester 2 Ver. 3.0 by William Kelly.
Overview of MSWS Control of 212-LC July 15, 2006.
Vinay Paul. CONTENTS:- What is Event Log Service ? Types of event logs and their purpose. How and when the Event Log is useful? What is Event Viewer?
Android Laser Pointer Control Client System Block Diagram Functional Requirements Development Platform.
Communication Layers Protocol Commands Results Command Specs Command Framework Database Access PVSS Server TOC ,
© Paradigm Publishing, Inc. 4-1 Chapter 4 System Software Chapter 4 System Software.
Copyright © 2012 Kendall Electric, Inc. All rights reserved.
Optimizing Windows Vista Performance Lesson 10. Skills Matrix Technology SkillObjective DomainObjective # Introducing ReadyBoostTroubleshoot performance.
Sensor testing and validation plans for Phase-1 and Ultimate IPHC_HFT 06/15/ LG1.
Proposal for an Open Source Flash Failure Analysis Platform (FLAP) By Michael Tomer, Cory Shirts, SzeHsiang Harper, Jake Johns
Input/Output Problems Wide variety of peripherals —Delivering different amounts of data —At different speeds —In different formats All slower than CPU.
Linux Operations and Administration
Status & development of the software for CALICE-DAQ Tao Wu On behalf of UK Collaboration.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 4 Learning About Other Devices.
Week1: Introduction to Computer Networks. Copyright © 2012 Cengage Learning. All rights reserved.2 Objectives 2 Describe basic computer components and.
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)
Source Controller software status HCAL fall meeting Oct 13-15, 2005 Ianos Schmidt The University of Iowa.
4000 Imaje 4020 – Software Imaje 4020 – Content ■ Content of Chapter Software: 1. Flash Up 2. Netcenter 3. FTP 4. Active X 5. XCL commands 6. Exercise.
OPERATING SYSTEM REVIEW. System Software The programs that control and maintain the operation of the computer and its devices The two parts of system.
Programming and Debugging with the Dragon and JTAG Many thanks to Dr. James Hawthorne for evaluating the Dragon system and providing the core content for.
Fermilab Scientific Computing Division Fermi National Accelerator Laboratory, Batavia, Illinois, USA. Off-the-Shelf Hardware and Software DAQ Performance.
Chapter Objectives In this chapter, you will learn:
Operating System Review
SCADA for Remote Industrial Plant
Controlling a large CPU farm using industrial tools
Operating System Review
Operating System Review
Presentation transcript:

Source Controller software Ianos Schmidt The University of Iowa

System HF+ HE+ HO+1,+2 HB+ HO0 HO –1,-2 HE- HF- Services: Air drivers Electric drivers ? 2 3? 2 3? 0 0? Total Crate of controller boards HB- 0 0? Air supply pressure switches RS-485 links DIM Server DIM Client(s) Crate of controller boards Local control laptop RS-232 directly to individual boards. Power supplies 5V,18V,24V

Software diagram DIM Server Config. info Tube maps Source code Run Control DIM clients Controller boards DIM clients RS-485 Local disk Config. info Tube maps Source code Database ? Controller code and settings in flash memory Local tools for configuration, testing, and compiling code Control PC Laptop RS-232 Tools for testing, configuration and programming of controllers.+ Controller source code. DIM client

Controller software Each controller board contains a Philips 89C51RB2 microcontroller. The code for these is written in the native “8051 compatible” assembly language. The Assembly code is complied using ASM51, and the controllers are programmed using either WINISP or Flash Magic programming tools. All of these tools are free, and operate under Windows. The programming interface is non-proprietary and fully documented allowing the option to implement a custom programmer on any platform in the future if necessary. This code provides all functionality to operate the Purdue wire source drivers, and to provide a standard interface, regardless of driver type, via RS-232 or RS-485 to the DIM server. Information that describes the specific hardware and related behaviors is stored in a block of flash memory which is transferred to RAM at boot up. These values can be modified and resaved, or default values can be restored via the serial interface. Generally speaking these parameters will only need to be changed if the driver hardware or control electronics are changed.

DIM Server The DIM server communicates with the controller boards via RS-485, and produces a set of DIM services and commands specific to each controller board. There is one additional information service that consists of the status words from each of the drivers. Each controller is uniquely identified by its address and associated with information stored in either a file or a local database. This data set consists of the following information for each driver: Driver name Driver type (Electric Driver, Air Driver, Monitor, None). Default tube map. Port number State (locked, Enabled,…) Board addresses are determined by the slot numbers in the crates. Each slot also holds the connector from a specific source driver control cable, thus the controller address is associated with specific driver locations on the experiment.

DIM Service information COMMAND SERVICES Command name Format Parameter1 Parameter2 1. "CMS/HCAL/RSRC[_ServerSubname]/{DEV}/INIT I:2 Index Reel 2. "CMS/HCAL/RSRC[_ServerSubname]/{DEV}/GO" I:2 Index Reel 3. "CMS/HCAL/RSRC[_ServerSubname]/{DEV}/SCAN" I:2 Index_from Index_to 4. "CMS/HCAL/RSRC[_ServerSubname]/{DEV}/STOP" 5. "CMS/HCAL/RSRC[_ServerSubname]/DEBUG" I:2 Device(0 means all) level(0-3) Information services "CMS/HCAL/RSRC[_ServerSubname]/STATUS" I:16 Contains status words (see lower) for all the 16 drivers 2. "CMS/HCAL/RSRC[_ServerSubname]/{DEV}/STATUS" I Service sends the structure SrcInfo: typedef struct { int message_counter; timeval time_stamp_1; //{int seconds; int mkseconds;} int status; int index_counter; int reel_counter; int motor_current; int speed; // not implemented yet in the driver timeval time_stamp_2; (int 0; int 0;} will be filled in the Event Builder }SrcInfo; * Does not include services for configuration information and tube maps.

Server log file The DIM server writes a local log file for each driver which contains an entry for each change in status. For changes in controller status an entry consists of all controller state information. 10:03: :03: :03: :03: :04:44 Command SCAN recived with parameters: :04: :04: :04: :04: :04: :04: :04: :04: :04: :04: Mon Jul 19 add comm status reel ind I V Errors0 Errors1 Warnings 10:04: :04: :04: :04: :05: :06: Sample from log file:

Tube maps Tube maps from files or a database will be used to provide specific information about the tubes that are connected to the drivers. Which map to use can be specified from a DIM client, otherwise the default specified in the configuration data will be used. Each entry is associated with the index number from the related driver. A tube map contains the following information: Global: Map title Driver type First and last tube number Optional default settings for the driver (parameter overrides) Tube specific: Tube number. Tube name (ie. “HE+1, sector 2, slice 1, layer 5”) Tube status (skip, ok, warn, test) Maximum length Start of detector/area of interest (Optional settings such as motor voltage/speed for extend/retract, in/out of detector)

DIM clients A Visual source controller client is under development using Borland tools. This provides an easy to use graphical interface that allows use all the available DIM services and commands. Ultimately this will be implemented in PVSS. Run control contains a client for merging the source controller data with DAQ data. Run control also provides sequence files to automate the sending of DIM commands. The run control DIM interface will have to be updated to use tube map and configuration information.

Miscellaneous Other software Controller test program for sending raw serial commands to a controller card. This is to be used while the laptop is directly connected to the RS-232 connector on the front of a controller card. When connected in this way the controller is automatically dropped from the RS-485 buss allowing maintenance and testing of individual cards while the other cards are in operation, or for testing cards individually outside of the crate. Tool for setting controller parameters and saving them to flash memory. Although this will rarely need to be done it is tedious to do using the raw serial commands. DID (Dim display) Tool part of the DIM package for testing DIM servers. Borland BCB for building code.

Status Controller code: First version of Air driver code has been written and basic functionality tested. More work is needed before it is ready for use. Electric driver controller code version 1 was completed last fall but needs to be modified to reflect changes made in the air driver code. Geiger counter, speed readout, and possibly speed control have yet to be implemented. DIM server: Recently ported to work with Borland tools. The Server can work on both windows and Linux platforms, and can be complied in both Microsoft Visual C++ and Borland. DIM server code is presently operational but use of the configuration and tube map information has yet to be implemented. DIM clients: Visual client under development. Work with PVSS needs to be started. Run control interface needs to be reviewed and modified to use tube maps. Database: Need to establish interface to CMS databases if necessary. Work not yet started.