07-25-2005 12:25 PM
07-26-2005 10:53 AM
Hello,
No, unfortunately there is no way to query the DAQmx Base driver for the resolution of a channel. You will have to calculate that value based on the known resolution of your ADC and the range and gain of your configured AI Channel. The formula for determining code width (the smallest detectable change in voltage) is Range/(Gain * 2^resolution of ADC).
Please see the following tutorial for more information: http://zone.ni.com/devzone/conceptd.nsf/webmain/139DFA3645B29BE586256865004E742A .
I hope this helps. Let me know if you have any further questions.