3
Features and Functions
N O T E
N O T E
48
Hence, the 16 bits binary read back calculation will be as
follows.
LSB
<11100000> <00110001>
= 12768
The raw data provided by U2300A series DAQ devices is in the byte order
of LSB first.
:
Bipolar
⎛
Converted value
=
⎝
Example of converted value
Unipolar:
⎛
Converted value
=
⎝
Example of converted value
• The converted value is of float type. As such, you may need to type cast the
Int16 value to float in your programming environment.
• For the U2331A, there is a need to perform a 4-bit right shift operation. This is
because it is equipped with 12-bit ADC, and the last 4 bits are truncated.
MSB
×
2
Int16 value
⎞
×
------------------------------------- -
Range
⎠
resolution
2
×
2
12768
⎛
----------------------- -
=
⎝
16
2
Int16 value
⎞
×
----------------------------
0.5
Range
+
⎠
resolution
2
⎛
12768
-------------- -
0.5
=
+
⎝
16
2
U2300A Series USB DAQ User's Guide
⎞
×
10
3.896 V
=
⎠
⎞
×
10
6.948 V
=
⎠