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

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

Mar 29, 2015

Download

Documents

Alison Ralphs
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 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)

First Tests of a GTL-Prototype-Card using XDAQ

S. Kostner, J. Strauss and A. Taurok (Hephy, Vienna)with help from J. Gutleber (CERN)

Page 2: 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)

Page 3: 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 for test of GTL-Conversion Card

GT

L-C

onve

rsio

n C

ard

VM

E-M

XI-

2

MXI Cable

VME Crate

Linux PC running XDAQequipped with PCI-MXI Card

VME-MXI-2 Crate Controller

VME-Bus

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

GTL-Conversion-Card (6U)

● VME Connector● ALTERA VME Chip● 5 XILINX Conversion Chips (which have to be

configured via VME)

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

VME Connector

to Backplane

Altera VME Chip

ProgrammableXilinxChips

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

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.

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

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.

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

VME Crate

VME-MXI-2CrateControler

GTL-ConversionCard

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

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

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

HAL

Source: HAL Documentation

(Linux NIVXI driver)

(MXI2x86LinuxBusAdapter)

VMEDevice

(XDAQ plugin)

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

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.

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

XDAQ Framework

XdaqWin

GT

L-C

onve

rsio

n

Con

trol

ler

VME Crate

VME

HTTP

VXIXDAQ

executive

XDAQ with running user-plugin

XML

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

Time flow of a xdaqWin command

XDAQWin XDAQ executive

configureuser plugin

configure(){

... //configure HW}

click "configure"

ready

2

5

3

1

4

next command

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

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.