Download presentation
Presentation is loading. Please wait.
Published byAlison Ralphs Modified over 10 years ago
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 GTL-Conversion Card VME-MXI-2 MXI Cable VME Crate Linux PC running XDAQ equipped with PCI-MXI Card VME-MXI-2 Crate Controller VME-Bus
4
GTL-Conversion-Card (6U) VME Connector ALTERA VME Chip 5 XILINX Conversion Chips (which have to be configured via VME)
5
VME Connector to Backplane Altera VME Chip 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 (National Instruments). A National Instruments - VXI/VISA driver is used to access the PCI-MXI Board.
8
VME Crate VME-MXI-2 Crate Controler GTL- Conversion Card
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 Source: HAL Documentation (Linux NIVXI driver) (MXI2x86LinuxBusAdapter) VMEDevice (XDAQ plugin)
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 the plugin 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 GTL-Conversion Controller VME Crate VME HTTP VXI XDAQ executive XDAQ with running user-plugin XML
13
Time flow of a xdaqWin command XDAQWin XDAQ executive configure user plugin configure() {... //configure HW } click "configure" ready 2 5 3 1 4 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.
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.