Hello Gaston,
Based on my experience. I think this is not possible, because in order to modify the Input Limits, which also affect the Gain of the ADC, you must use first the AI Config.VI in the flow of your program. Thus, in order to reconfigure the Input Limits, you should use again the AI Config.VI which means you must stop the acquisition for reconfiguring the Input Limits.
I guess the best thing to do is to know more less what range of signal you are expecting and set the lowest permissible value.
I hope this helps.
L Aguila
Applications Engineer
National Instruments