Proton Calorimetry/Meetings/2021/02/03

From PBTWiki
Jump to navigation Jump to search

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.

Fern Pannell

  • Buttons added to GUI for increased client-side functionality.
    • Start: Commences live data display in browser. Functional.
    • Pause: Pause live data display in browser. Not currently functional.
    • Save: Save latest line of data locally to a CSV file. Not currently functional.
    • Start button needs to change to a Restart button after being clicked.
  • Curve added to display for proof of concept with ChartJS showing a reconstructed Bragg curve.
    • This curve currently displays the same dummy data as the photodiode values.
    • Curve data points removed as required.
  • Next Steps:
    • Need to create a second Java data writer on the HEP server to generate a second csv of dummy data.
    • JavaScript must then be tweaked to parse and plot photodiode data from csv1 and curve data from csv2.
    • GUI should be pushed to max Hz to see how performance is impacted when reading from two files.
    • Second Java data writer should then be tweaked to write arrays of length above 16.
    • Curve should then be plotted in the same axis space as the photodiode data but with more points.
    • If successful, this will mean it is possible to display 16 raw photodiode values simultaneously with a fitted curve consisting of n >> 16 points.
    • It will still be unclear whether the photodiode data and curve data are plotted in sync as this cannot be determined with dummy data. Must wait for FPGA fitting to test this.

PhD Update:

  • Manchester/Cockcroft Institute interview complete - will find out within 2 weeks.
  • Invited to interview at Oxford (scheduled 9th and 10th of February).
  • Invited to interview at Imperial (scheduled 17th of February).