Post Go back to editing

AD5940 RTIA Calibration

Hello I do not understand how to calculate the calibration of RTIA in LPTIA  in AD5940 with the function  AppSWVRtiaCal in the examples of Square Wave Voltammetry.

I would like to do this calibration if the RTIA is changed during the experiement , but the way the function is defined only works in the initialization. When I do it in the while loop it blocks the generation of the sweep.