Input Gain is for calibrating the ADC due to the use of resistors to convert a ±10V ADC to a ±5V ADC via an Op Amp. Because resistors are never accurate, the gain via op amp is never 2 (incoming voltage * 2). Since resistors are linear at a specific temperature, we can just use a conversion factor and that is what that input gain is. It should be around 1. In practice, input gain probably doesn't matter. There are too many other errors in the system than to worry about 1-2% error in the input gain.
The formula I use to determine input gain is on the wiki under the Analog to Digital Converter section:
((2/10) * 2^14) / ((abs(-1 Volt) + (1 Volt)) = gain.
For your issue, you could try and change the distance pgFocus moves to correct focus.
In the firmware code, the variable is dDriftCorrection and it is a percentage. I think it is 0.5 (or 50%). If you change it, I wouldn't go any higher than 80% otherwise you might get ringing. I never tested what happens if you go lower but going lower might solve your issue.
The command to change drift correction is "step". "step" without any value will print the value pgFocus is using. "step" with a value will change the value. I artificially limit the range to 0 > Value < 1.50,
Thanks for posting this question on the mailing list.
PS. Some of the parts for your second pgFocus were on backorder, but I just got a notification that Mouser billed me, so I should be getting the parts soon.
Cheers
Karl Bellvé
Biomedical Imaging Group
Molecular Medicine
University of Massachusetts Medical School