Proton Calorimetry/Meetings/2021/02/03: Difference between revisions
SaadShaikh (talk | contribs) |
SaadShaikh (talk | contribs) |
||
Line 12: | Line 12: | ||
*Further work on DAQ framework: | *Further work on DAQ framework: | ||
**DAQ script sets full-scale range and number of DDC232 boards and then saves X number of measurements per file. | **DAQ script sets full-scale range and number of DDC232 boards and then saves X number of measurements per file. | ||
**Trade-off between DAQ rate and refresh rate of display: averaging/plotting scripts can only access closed files and best DAQ rate is achieved by saving data to single file without closing. | **Trade-off between DAQ rate and refresh rate of display: averaging/plotting scripts can only access closed files and best DAQ rate is achieved by saving data to single file without closing. Reading more boards also slows down DAQ. | ||
**WriteCSV waits for a new file to appear, averages all measurements in the file and then updates a single-line CSV file at 50Hz. | **WriteCSV waits for a new file to appear, averages all measurements in the file and then updates a single-line CSV file at 50Hz. | ||
**Local live plot reads last line in each new file to plot. No averaging in order to reduce latency between DAQ. | **Local live plot reads last line in each new file to plot. No averaging in order to reduce latency between DAQ. |
Revision as of 18:17, 3 February 2021
Minutes for UCL Proton Calorimetry Meetings, 3rd February
Present
Simon Jolly, Raffaella Radogna, Saad Shaikh, Fern Pannell
Raffaella Radogna
Saad Shaikh
- Further bug fixes and work on USB interface: now able to dynamically set number of DDC232 modules remotely.
- Will update UART FPGA code to also allow setting number of DDC232 modules remotely.
- Further work on DAQ framework:
- DAQ script sets full-scale range and number of DDC232 boards and then saves X number of measurements per file.
- Trade-off between DAQ rate and refresh rate of display: averaging/plotting scripts can only access closed files and best DAQ rate is achieved by saving data to single file without closing. Reading more boards also slows down DAQ.
- WriteCSV waits for a new file to appear, averages all measurements in the file and then updates a single-line CSV file at 50Hz.
- Local live plot reads last line in each new file to plot. No averaging in order to reduce latency between DAQ.
- Features to implement:
- Replace number of measurements per file with a time spent on each file, in order to lock-in the rate at which new files appear.
- At FTDI level, scale photodiode data and add real Bragg curve. Add fitting routine to writeCSV or update liveFit to perform averaging and fitting.