06.02.2014 Views

CAEN V767 128 Channel Gen. Purpose MH TDC - Physics

CAEN V767 128 Channel Gen. Purpose MH TDC - Physics

CAEN V767 128 Channel Gen. Purpose MH TDC - Physics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

02/07/2003 <strong>V767</strong> User's Manual – Rev.4<br />

3.4. OUTPUT BUFFER<br />

(Base address + %0000 read only; from firmware rev 2.0 accessible also at Base +<br />

%2000 ÷ + %FFFC)<br />

The output buffer contains the output data organised in 32-bit words. The data in the<br />

buffer are organised as follows:<br />

A) In the case of Start Trigger Matching, Stop Trigger Matching (Common Stop<br />

Emulation included) and Start Gating mode the data in the buffer are organised in<br />

events.<br />

Each event consists of (refer to Fig. 3.4):<br />

• a header that contains the event number value;<br />

• the data words containing the 20 bit converted time values, the channel number<br />

and an edge bit;<br />

• an End Of Block (EOB) word containing the number of data words (i.e. the<br />

HEADER and EOB are not included) and a Status that is 1 if the <strong>TDC</strong> Chips<br />

have had an error, 0 otherwise.<br />

B) In the case of Continuous Storage mode there are neither the header nor the EOB<br />

word, but only the data words.<br />

In both cases, if a read access is performed to the buffer when it is empty, the readout<br />

will provide a NOT VALID DATUM arranged as shown in Fig. 3.4.<br />

N.B.: in the Mod. <strong>V767</strong>B which does not have the JAUX, the GEO address<br />

contained in the HEADER and in the EOB must be written by the user via a write<br />

access to the relevant register (see § 3.5). If this operation is not performed, it will<br />

be not possible to identify which module the data are coming from when the CBLT<br />

access is used.<br />

HEADER<br />

GEO<br />

HEADER<br />

1<br />

0<br />

EOB<br />

EVENT NUMBER<br />

DATUM<br />

CHANNEL<br />

HEADER<br />

0<br />

0<br />

EOB<br />

TIME MEASUREMENT<br />

START<br />

EDGE<br />

EOB<br />

GEO<br />

HEADER<br />

STATUS<br />

0<br />

1<br />

EOB<br />

EVENT DATA COUNTER<br />

HEADER<br />

NOT VALID 1 1<br />

DATUM<br />

EOB<br />

EVENT NUMBER<br />

Fig. 3.4: Mod. <strong>V767</strong> Output Buffer Data Structure<br />

NPO:<br />

00001/97:<strong>V767</strong>x.MUTx/04 Page 28 of 75

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!