BTF-DAQ data specification

The BTF-DAQ is a dynamic composition of different modules, each one of those is run-time switchable on and off
Here is a standard configuration, with some modules in a VME crate, other in NIM crate and again as standalone:

  1. Delay Programmable Unit
  2. Scaler
  3. Silicon Microstrip chamber
  4. Peak Detector
  5. QDC
  6. TDC

For more info see this page

Here a sample of one line in output from BTF DAQ

This example datastream has: - SINGLE event mode: one event(ok trigger) per buffer - only one running board (QDC2)

Here an example row of the datastream (\n unix terminated): 1 73 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 16375 8471 0 10 18775 19964 42 314 134 1065 106 816 106 833 151 1180 134 1034 145 1168 30 251 131 1038 134 1076 159 1231 154 1232 146 1118 164 1262 141 1118 149 1182 0 -1697888 165123 1 1 1










SINGLE event mode




Data stream Header + Word number per event + Active DAQ Boards List

The first data in the data stream row is the "event per row" and it is the header of the each row in the data stream, recording the number of event acquired per DAQ Cycle (row)

event per row (1) + event number of data word space separated (73)+ agile silicon on/off (1/0) + peak sensitive on/off (1/0) + qdc1 on/off (1/0) + qdc2 on/off (1/0) + tdc1 on/off (1/0) + qdc3 on/off (1/0) + tdc2 on/off (1/0) + spare on/off (1/0)




Default scaler data

These 32 words belonging to the BTF scaler and they are included in the datastream as default:




DAQ Active Board data

These are 32 word belonging to the V965 16 channels (it is, in this example, the only active element in addition to the scaler: 0 0 0 1 0 0 0 0).
BTF version of the V965 has 16 charge coupled channels (chXX-hirange chXX-lowrange): for each couple the range is 800pC (first data channel on the stream) and 100pC (the other one). These data are not pedestal subtracted and V965 channel counting starts from channel0.




Timing data

are BTF machine and DAFNE status




Data stream Tail
*1 1 1











MULTI event mode In this case more event are acquired before saved in a single file row
In this case the row datastream structure is: