Principles of Operation
15
2
2
2
2
2
2
2
2
2
Vin = Code
Offset Binary
* LSB + Offset
where,
•
FSR
is the full-scale range (20 V).
•
N
is the input resolution (12 bits).
•
LSB
is the least significant bit (0.0048828 V).
•
Vin
is the analog voltage.
•
Code
Twos Complement
is the raw count used by the software to
represent the voltage in twos complement notation.
•
Offset
is the actual minus full-scale value (
–
10 V).
•
Code
OffsetBinary
is the raw count used by the software to represent
the voltage in offset binary notation.
For example, assume that the software returns a code of 3072 for the
analog input value. Determine the analog input voltage as follows:
Code
Offset Binary
= Code
Twos Complement
XOR 2
N-1
Code
Offset Binary
= 3072 XOR 2048 = 1024
Vin = 1024 * 0.0048828 V +
–
10 V
Vin =
–
5.00 V
Error Conditions
An overrun condition is reported if the A/D sample clock rate is too
fast. This error is reported if a new A/D sample clock pulse occurs
while the ADC is busy performing a conversion from the previous
A/D sample clock pulse. It is up to the host application to handle this
error either by ignoring the error or stopping acquisition. To avoid
this error, use a slower sampling rate.
Summary of Contents for KUSB-3100
Page 10: ...Contents x...
Page 14: ...About this Manual xiv...
Page 15: ...1 1 Overview Features 2 Supported Software 3...
Page 18: ...Chapter 1 4...
Page 46: ...Chapter 2 32...
Page 47: ...33 3 Supported Device Driver Capabilities...
Page 86: ...Chapter 4 72...
Page 87: ...73 5 Troubleshooting General Checklist 74 Service and Support 77...
Page 100: ...Chapter 6 86...
Page 101: ...87 A Specifications...
Page 112: ...Appendix A 98...
Page 113: ...99 B Connector Pin Assignments...
Page 115: ...101 C Reading from or Writing to the Digital Registers...