1 / 14

First Tests of a GTL-Prototype-Card using XDAQ

First Tests of a GTL-Prototype-Card using XDAQ. S. Kostner, J. Strauss and A. Taurok (Hephy, Vienna) with help from J. Gutleber (CERN). Environment. Linux PC running XDAQ National VME Interface VME Crate GTL-Conversion-Card (6U). Environment for test of GTL-Conversion Card. VME-MXI-2

norina
Download Presentation

First Tests of a GTL-Prototype-Card using XDAQ

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


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

  2. Environment • Linux PC running XDAQ • National VME Interface • VME Crate • GTL-Conversion-Card (6U)

  3. Environment for test of GTL-Conversion Card VME-MXI-2 Crate Controller VME-MXI-2 VME-Bus GTL-Conversion Card MXI Cable VME Crate Linux PC running XDAQ equipped with PCI-MXI Card

  4. GTL-Conversion-Card (6U) • VME Connector • ALTERA VME Chip • 5 XILINX Conversion Chips (which have to beconfigured via VME)

  5. Altera VME Chip VME Connector to Backplane Programmable Xilinx Chips

  6. Configuration Procedure Only the ALTERA Chip understands VME. XILINX Chips receive commands from, and are configured by the ALTERA Chip. The configuration file has to be written bit by bit to a program register in the ALTERA Chip.

  7. Other Components VME crate is connected to a Linux PC via a crate controller and a PCI-MXI-2 Board (NationalInstruments). A National Instruments - VXI/VISA driver is used to access the PCI-MXI Board.

  8. VME Crate GTL- Conversion Card VME-MXI-2 Crate Controler

  9. C++ Hardware Access Library (HAL)...is included in XDAQ package • VMEDevice() • MXI2x86LinuxBusAdapter() • NIVXI driver • PCI MXI Card (shown in Figure 1 of HAL Documentation) • Simple read and write commands are available • Note: HAL can be used without XDAQ

  10. HAL (XDAQ plugin) VMEDevice (MXI2x86LinuxBusAdapter) (Linux NIVXI driver) Source: HAL Documentation

  11. XDAQ Framework • Process running on PC with hardware connection (described above) • The XDAQ application is realized as plugin which is loaded into XDAQ at runtime (only theplugin has to be compiled). • XDAQ and its plugin is controlled by the tool XDAQWIN which sends messages to XDAQ via http. • The configuration of XDAQWIN is specified by the user which has to provide a XML file.

  12. XDAQ Framework XdaqWin XML HTTP VXI Controller VME GTL-Conversion XDAQ executive VME Crate XDAQ with running user-plugin

  13. Time flow of a xdaqWin command XDAQWin XDAQ executive 1 2 click "configure" configure user plugin 3 configure() { ... //configure HW } 4 ready 5 next command

  14. Conclusions • A simple configuration example was realized using XDAQ and HAL. • Code will be made available (by J.Gutleber); it is a realistic example for a first contact with XDAQ.

More Related