vetlewi / OCLDAQ

The OCL DAQ software
GNU General Public License v3.0
0 stars 0 forks source link

Add support for traces #18

Open vetlewi opened 6 years ago

vetlewi commented 6 years ago

Sometimes one might need to read traces. The readout should support the traces to be read out.

vetlewi commented 6 years ago

First we need to increase the value in https://github.com/vetlewi/OCLDAQ/blob/0476fad2f9e6a9419bbd5a28fb4a5b469aa94dc0/sirius/src/XIAengineControl/XIAControl.h#L25 to be the maximum event length in bytes if traces are included. Currently the maximum trace length is 8192. This corresponds to 4096 32-bit words for the traces in the binary format. In addition the event header has a length of up to 18 32-bit words. Thus the total maximum length is 4114.

vetlewi commented 6 years ago

Need to remove the feature that removes traces: https://github.com/vetlewi/OCLDAQ/blob/0476fad2f9e6a9419bbd5a28fb4a5b469aa94dc0/sirius/src/XIAengineControl/XIAControl.cpp#L1133-L1138 and https://github.com/vetlewi/OCLDAQ/blob/0476fad2f9e6a9419bbd5a28fb4a5b469aa94dc0/sirius/src/XIAengineControl/XIAControl.cpp#L1174-L1179

vetlewi commented 6 years ago