Are you using the Easy I/O library for DAQ or the Data Acquisition library functions?
For Easy I/O Library, when you pass in new ranges to the functions, it will automatically gain the signal. You can also set up the ranges by configuring a named channel in Measurement & Automation Explorer. For example,
for a read with a range of -1 to 1 (gain of 10) use:
nidaqAIScanOp ("daq::1!(0)", 1000, 1000.0, 1.0, -1.0,
kNidaqGroupByChannel, &actRate, &data);
If you are using the lower level Data Acquisition library functions. The DAQ_Start, DAQ_Op, AI_Read, etc. functions let you specify the gain. For a range of -1 to 1, set gain to 10. For example,
DAQ_Op (1, 1, 10, &data, 1000, 1000.0);
See the NI-DAQ Reference Manual for more info
rmation.
Best Regards,
Chris Matthews
National Instruments