Outer Detector DAQ Software documentation

H.G.Berns, last updated 25 June 2004


This page is also available in PDF format.

For other OD problems, please see Help! Guide for SuperK Outer Detector Troubles
( http://www-sk.icrr.u-tokyo.ac.jp/~berns/SUPERK/odhelp.html ).
.


Contents:



OD-DAQ overview diagram

1. OD-DAQ Software Overview

The Outer Detector Data Acquisition (OD-DAQ) software consists of 3 online levels, each of them running independently on their own set of processors:

1.1. Fastbus Front-End Control via Fastbus Controller (FSCC)

In each outer hut, a Fastbus Smart Crate Controller (FSCC) continuosly collects TDC and latch data for each trigger event and immediately sends it via the Aux card and a 100-125 foot data cable from the outer hut to the DC2 module in the center hut.

The FSCCs are 68000-based CPU modules running VxWorks real-time OS. Once they're powered up, they download their individual boot and runtime software from sukant via a private ethernet connection. Sukant is setup as a file host for the FSCCs, but doesn't do direct control with them. After bootup, the FSCCs automatically activate their TDC data taking processes (sktrig_lcsr_fbc.o).

For more details see Mei-Li's and Jordan's FSCC/DC2 manual.

1.2. Dual-Port Memory Control via DC2 Controller

There are four DC2 controller modules in the back of the OD-DAQ VME crate, one for the Fastbus data of each outer hut, and each of them is in charge of two Dual-Port Memory (DPM) modules via a specialized VSB bus interface. Each set of DC2 and DPM pairs is isolated from each other.

The DC2s are also 68000-based CPU modules running their own microcodes (based on VxWorks real-time OS), stored in on-board Eproms. Once powered up, they're booting up from their Eproms and then immediately run their runtime software in a continuous loop. Their purpose is to collect the Fastbus data and store it directly into one of the 2 DPM modules they're controlling in "ping-pong" mode, while the second DPM module is released for read access via sukant (via bit3 module). The communication to sukant (via bit3) is done through shared registers in the DPM module (so called "mailbox") which determine the "ping-pong" page flip mode, data size for read transfer, etc.

For more details see Mei-Li's and Jordan's FSCC/DC2 manual.

1.3. The OD-DAQ online run control acquisition via "sukant" (sparc20)

- the actual OD-DAQ online control software -


OD DAQ software block diagram
The OD-DAQ online software is installed on the "sukant" workstation in the central electronics hut, in order to interface between the OD-DAQ hardware and the Inner Detector DAQ. It consists of the following three main programs which are controlled by run control software on "sukonh" (via net-shared memory). The three processes exchange their data blocks via so-called NOVA buffers which is controlled by an external daemon process called novad.



2. Operation of the ODDAQ software

The OD-DAQ is an integral part of the Super-K online system and therefore does not require individual attention from the shift members, unless there's an error condition that doesn't automatically recover.

3. OD-DAQ Error and Warning Messages (on sukonh's "msgctrl" window)

see also the document " Help! Guide for Super-K Outer Detector Troubles"
(local mirror at SK: http://www-sk.icrr.u-tokyo.ac.jp/~berns/SUPERK/odhelp.html )!


  • 3.1. Anti-collector messages:


  • 3.2. Anti-sorter messages:


  • 3.3. Anti-sender messages:

    All following messages are possible results of a fatal error where the anti-sender is about to die or being killed. In all cases, the run needs to be aborted, then initialized again before a new run can be restarted:


    4. Other OD-DAQ related software issues (links)


    last edited 6/25/2004 [berns@phys.washington.edu] ------- back to Super-K US collab. home page