11-19-2006 05:09 PM
11-19-2006 11:33 PM
11-20-2006 11:36 AM
Hi,
My question is more general. What is the significance of setting voltage range. Its relationship to quantization. For example, if the received analog signal is very small and I set voltage range from -10 to 10 then what would happened to digital signal that is generated by AI voltage vi. or if signal is in the range of +5 , -5 volts and I set voltage range in 0.1 to -0.1. etc. IS there any mathematical equation that describe the relationship between amplitude of analog signal to be digitized and the number of bits on card etc.
Thanks
AM
11-20-2006 12:00 PM
When you specify the min and max, the DAQmx driver will then automatically select the best range for that signal. Say for example, the board supports +/-.1, +/-1, +/-5, and +/- 10 volt ranges and it's a 12 bit board. If you enter max/min of +/- 2, then the board will be set to the +/-5 volt range. Your resolution is then 10 volts (total voltage swing) divided by 4096 (2**12). You can get the actual voltage range selected by using the DAQmx Channel properties AI.Rng.High and AI.Rng.Low.
If you specify a min and max that is less than the actual signal amplitude and it is greater than the actual range used, then you will clip your input signal. DAQmx does not do an autoscale.
11-20-2006
12:10 PM
- last edited on
04-22-2026
09:51 AM
by
Content Cleaner
Hi DSPGUY1,
Probably the best source of information to address your question is the M-Series manual that can be downloaded here. The onboard NI programmable gain instrumentation amplifier (NI-PGIA) amplifies or attenuates the AI signal depending on the input range. On pages 4-2 through 4-4 of the manual, there is information about the analog input range as well as the formula for determining the nominal resolution of a given input range. The formula is as follows: (max-min) / (2^16) = nominal resolution
A table is included for the NI 625x series for the most commonly used input ranges and the nominal resolution of each.
Regards,
Andrew W
National Instruments