AnaINVolt overflow or out of range

hi,

for months now i can read anaInVolt without any probs, but now i get -4096.
i found that this means an overflow or out of range happend.
But what could trigger this?
when do i get an overflow? or an out of range?
when i measure the voltage with a fluke i get 12V so i dont believe it could be out of range?

config is this: anaInConfig(0, SE0_MODE); so i measure voltage 0-20V at input 0 and 1

thx

This can happen if your calibration factors get corrupted, try recalibrating the channel your using with the gain you have it set to. Remember that there is a separate calibration factor stored for each channel AND gain setting so if you plan on changing gains at run time, you must calibrate the analog at every gain and channel combination you intend to use.