Data Conversion

Post Reply
LeoUTEP
Posts: 1
Joined: Fri Feb 05, 2010 3:58 am
Location: University of Texas at El Paso

Data Conversion

Post by LeoUTEP »

I am using C# for my platform and I am able to import all the functions from the dll. Also I am able to read the data from Active Two device and understanding the data is not a problem. Where I am having problems is the necessary conversion that has to be done. In the other forums i understand the example of 40 190 255 and how the makes -1047.375 uV. However, how about when our numbers look something like this:

43078656
34452480
15300608
33107712
-114432
21637120
-390656
-13010944

They are the first 8 electrode for a test run. So 43 078 656 is equal to 00101011 01001110 1010010000. Should i only add 6 zero to the LSB? Or is this data correct with 26 bits and what is left to do is reverse the bits and divide by what number?

Thank you in advance for all your help and time.

Coen
Site Admin
Posts: 1124
Joined: Fri Mar 26, 2004 7:00 pm
Location: Amsterdam, Netherlands
Contact:

Post by Coen »

Incoming data words are 32-bit (a 24-bit word from the ADC followed by a least significant zero Byte). The LSB value of the ADC output word is 1/32th uV. So, the LSB value of the 32-bit incoming word is 1/8192th uV (for electrode channels, sensor channels are scaled differently).

Best regards, Coen (BioSemi)

Post Reply