Right now we organize the DAQ code around the concepts of redout mode (full frame vs. windowed) and buffer size (small vs large), while I gather we should really have three readout modes
Full frame
Windowed, small buffer
Windowed, large buffer
and no concept of buffer size.
This a somewhat complex change as it involves:
Changing daq/xpoldetector.h/cpp (possibly adding an enum).
Propagating the changes to pDetectorConfiguration. (Note this would also change the format of the configuration file.)
Propagating all the changes to pXpolFpga, where we actually write the configuration.
Changing the way pDataCollector and pDataBlock interact, with a unique pDataBlock constructor that we pass the readout mode to.
Possibly changing the GUI, offering the three options and enabling the charge injection only when either of the windowed readout modes is selected.
(We should discuss more with Massimo whether charge injection in full-frame mode makes sense.)
Right now we organize the DAQ code around the concepts of redout mode (full frame vs. windowed) and buffer size (small vs large), while I gather we should really have three readout modes
This a somewhat complex change as it involves:
(We should discuss more with Massimo whether charge injection in full-frame mode makes sense.)