You use gain when you want more resolution of the measurement. Say you have a 12-bit DAC. That's 4096 steps so if you have a 0-10 volt range, each step is worth .00244 volts. If you change the gain so that the range is 0-5 volts, each step is .00122 volts. You may or may not need the added resolution. Also, your DAQ board has a limited number of range settings. You'll have to check your user manual to see which ranges the board supports. And, if you have a 5 volt signal, for example, changing to a 0-5 range will cause clipping of the measurment whenever the signal goes even slightly over 5 volts.