|
|
| Author |
Message |
BasheerG Guest
|
Posted: Fri Jul 09, 2004 4:00 am Post subject: ADC-212 Data Interpretation |
|
|
Hi guys,
I am writing a VB application to read data from ADC-212 both channels. However, as I noticed from your VB example that you divide by 2047 and then multiply by the voltage range to convert the read data from the two channels to mVolts, as shown below:
volts_a = values_a(index) / 2047 * mv_Range
volts_b = values_b(index) / 2047 * mv_Range
Consequently, I would appreciate if you can inform me if this equation depends on the device connected to the ADC-212 or not? And if there is any factors that I should consider at the conversion time?
Thanks in advance,
// Basheer Al Ghazawi |
|
| Back to top |
|
 |
markspencer Site Admin

Joined: 07 May 2003
Posts: 610
|
Posted: Fri Jul 09, 2004 10:07 am Post subject: |
|
|
Hi,
Thank you for your post.
The equation does not matter what sensor is attached to the ADC-212. However, the voltage range that is used in the program, ie adc200_set_range is the same voltage range that you use in the equation.
To change the adc count into voltage there are no additional factors that need to be considered.
Best regards, |
|
| Back to top |
|
 |
|
Powered by phpBB © 2001, 2005 phpBB Group
|