> We want to accumulate all hits and display them as 2d histogram (x-axis beeing column, y axis row and content of pixel = number of hits since start of the measurement).
Yes, we also need to to several things with that raw data.
It's streamed into files for later analysis, that's the basic data acquisition job.
It's put into X/Y histograms so you can display in near real time where the detector is hit, verify basic diffraction patterns.
It's put into time-of-flight histograms, into histograms that accumulate the energy or 'D-space' or ... of the hits.
But all that is done in IOCs, which then update an X/Y histogram image in basic area detector format, or waveforms for most of the rest. The display tool simply displays the image or waveform, it doesn't do any of the computations.
-Kay