How can I improve the Auto-CFast and -CSlow compensation routines, when there is a considerable leak?
You could use the automatic leak compensation routine to compensate the leak current when executing an automatic CSlow compensation. Thus, generate a macro that calls the Auto-GLeak just before calling Auto-CSlow, and then disables GLeak immediately thereafter. Here the listing of the proposed macro named “LeakCSlow”: 4 : LeakCSlow E Mode: 3: Whole Cell E Gain: 11: 10 mV/pA E AutoGLeak E CSlow: 30.00pF E RSeries: 10.0MOhm E AutoCSlow E AutoCSlow E GLeak: 0.