LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmxCreateAIVoltageChan min and max

I'm using a USB-6002 board and reading analog data in CVI. The 6002 has a +/-10v range and a 16-bit ADC. First of all, -10 to +10 is a 20 volt range for the 16-bit or 65536 binary steps, right? If the min and max are set at -5 to +5, for a 10 volt range for the 65536 bianry steps, does that set the 16-bit binary range to correlate to 10 volts, or does the 16-bit ADC always use the 20 volt range, regardless of the min and max settings?

0 Kudos
Message 1 of 3
(4,458 Views)
If a device has multiple ranges, the min and max would set the actual physical range to best fit your signal. For example, if one of the physical ranges of the adc was +/- 5 and another was +/- 10 and you specified +2 and minus 2 add the max and min, you would have the +/- 5 range selected by the driver. However, add you can see from the specs, your inexpensive device has only one range so you will always get +/- 10.
0 Kudos
Message 2 of 3
(4,453 Views)

Thanks for the info. Sounds reasonable. So, in this case, the min and max settings in the function call have no effect.

0 Kudos
Message 3 of 3
(4,438 Views)