Product specifications
Instrumentation Laboratory Exercise 35
When you have finished these steps your program should look like
this:
This DAQ has 16- bit resolution, but the data is transferred as 8- bit
bytes. The data in the array V
L
is read as two bytes with the Least
Significant Byte (LSB) first, and the Most Significant Byte (MSB)
second. This byte order needs to be reversed. Additionally the data
has been converted to the twos complement sign format. To convert
the array back into a usable form you can perform a byte swapping
procedure, and simultaneously remove the twos complement offset.