J. Kissel, J. Batch Exploring why the optical gain compensation calculation wasn't working, Jim reminded me of what I'd already discovered when building the front-end model: The user-defined amplitude of the given calibration line is determined by a built-in EPICs variable inside the oscillator of the DEMOD simulink library part. This amplitude is needed for the math used to compute the optical gain compensation (see T1500121). However, the oscillator part (and therefore the DEMOD part) doesn't spit out a front-end graspable version of the amplitude, only the line itself and the sine and cosine. So I'd had to create *another* EPICs variable to feed into the front-end math, with the intent of *always* keeping it in sync with the oscillator's amplitude. My problem? I turned on the oscillator amplitude, but I forgot to put the parallel EPICs variable on the MEDM screen, so I forgot to set it when I set the amplitude of the calibration line (back in LHO aLOG 17622). I've added the variable to the MEDM screen (and committed to the repo), and set it appropriately. Now we just need a DARM spectrum to further debug the computation!