The main issue with the RMS values in the entries above is not the calibration but a bug in dataDisplay.
Figure 1 shows the RF spectrum of B2 and the time series in dataDisplay.
Figure 2 shows the same computed from data in matlab. The spectrum is exactly the same. The correctly computed RMS is shown in red and the way it is computed in dataDisplay is shown in yellow. The difference is that dataDisplay forgets that the sample data has gaps, so the spectral resolution is not 1Hz but much poorer than that. All the RMS values are wrong by a factor 110 because of this. This also shows that the voltage RMS is not the right quantity to look at for saturations. The voltage RMS is computed to be 0.1V but the peak value of the time series (figure 1) is slightly above 0.2V. If the signal was a pure sine wave at 0.1V RMS should give a peak value of 0.15V. But here with have several RF frequencies that can add up coherently (depending on the phase between them).
Then looking at the calibration. The DAQ corrects for the gain of the variable gain stage. However the demodulation mezzanine has an additional total gain of 4.5dB due to the (VIR-0215A-20), and the LNA on the photodiode PCB (ABA-52563) has a gain of 21.5dB, so in total a 26dB gain. This means that a 1mA of RF current, converted by 50 Ohm resistor, yields a voltage recorded by the ADC of 1V. Below the PD response pole (~12MHz) 1mA of current correspond to an optical power of 1.296mW assuming a 90% quantum efficiency of PDs. This means that the calibration factor for the RF data should be 1.296 mW/V, whereas it is 2.59 mW/V in the configuration file. So wrong by a factor 2.
This factor 2 error is also visible on the spectra level, see figure 4 for an example. B4 PD1 has a power of 40mW, which should give a shot noise at 1.15e-7 mW/rtHz, instead the spectrum is shown at ~2.5e-7 mW/rtHz because of this factor 2 error in the calibration.
Figure 3, coming back to the B4 PD1 data which close to saturation, they are reaching 0.8mW with the wrong calibration factor. So they correspond to 0.3 V in the DAQ before calibration, 0.4V at the input of the VGA (AD8370) and 0.2V at the output of the LNA (ABA-52563). The VGA has been measured to saturate at 0.75V (1.5 Vpp) in low gain mode, 0.375V at the output of the LNA because of 6dB gain of the transformer in front of the VGA. while for the LNA the 0.2V is a factor 5 below the 1dB compression point at 10dBm (1V amplitude). So it seems the VGA starts to become non-linear from our point of view for signals that are slightly less than a factor 2 smaller than the saturating amplitude.
For O4, the new VGA ADL5205, has been measured to saturate at 2.8V (5.7 Vpp, after taking into account the 3dB gain of the transformer in front of the VGA), so that is the maximum voltage that can be sent out by the LNA, a factor 7 increase over the current situation. The new LNA (PHA-13LN+) has its 1dB compression at 16dBm instead of 10dBm, which correspond to an amplitude of 2V. So the LNA will become the new limit on the dynamic, with a total improvement of a factor 5, assuming the 1dB compression will not spoil to much the signals.