In the latest ZCU firmware, Jeremy has included a histogram block that is filled with the STC sums from the ECON-T capture. After properly configuring the ROC pedestals and adc thresholds, this would give us effectively live observation of data collection.
https://github.com/slaclab/ldmx-firmware/blob/hcal_zcu102/firmware/targets/LpGBTZCU/ip_repo/shared/histo_quadbyte.v
Reading out the histograms is kinda clunky so I think we'll need some class that can be pointed at the right area of registers and give read and print functionality so we can read the current status of the histogram and print out a ascii representation of it.
In the latest ZCU firmware, Jeremy has included a histogram block that is filled with the STC sums from the ECON-T capture. After properly configuring the ROC pedestals and adc thresholds, this would give us effectively live observation of data collection.
https://github.com/slaclab/ldmx-firmware/blob/hcal_zcu102/firmware/targets/LpGBTZCU/ip_repo/shared/histo_quadbyte.v
Reading out the histograms is kinda clunky so I think we'll need some class that can be pointed at the right area of registers and give
readandprintfunctionality so we can read the current status of the histogram and print out a ascii representation of it.