I checked that the QPD electronics works as expected, and that I can acquire the signals using the ADCs. A new model (x3cr1) is up and running. It acquires the four quadrants, convert them from counts to volts, and compensate for the analog whitening filter. The four quadrant signals are X3:CR1Q1_OUT, X3:CR1Q2_OUT, X3:CR1Q3_OUT, X3:CR1Q4_OUT.
A matrix is used to compute the X and Y signals, defined as X = (Q1+Q4Q2Q3) and Y = (Q2+Q4Q1Q3). The SUM signal is also computed as SUM = (Q1+Q2+Q3+Q4).
Finally, the X and Y signals are normalized with the sum to produce X3:CR1X_NORM_OUT and X3:CR2Y_NORM_OUT.
A filter bank (ESD) is connected to the DAC channel #0 to produce the excitation that will be sent to the high voltage amplifier. I checked that the DAC is working properly (adding offsets). The input to the ESD filter bank is in volts.
The normalized X and Y signals, the sum of all four quadrants and the output of the ESD driver filter bank are saved to frames. The model runs at 65kHz.
