Quantcast
Channel: Data converters
Viewing all articles
Browse latest Browse all 27392

Forum Post: RE: ADS1292ECG-FE: ADS1292ECG-FE Labview PC software source file

$
0
0
Hi Alexander, Thank you very much for your quick reply during the holidays and for giving me directions. I have accepted your friend request. I did more tests today, but unfortunately I still haven't got the right results. Here's my code: int[] uV = new int[14]; //Each package have 14 samples for (int j = 0; j < 14; j++) { byte b1 = bs[4 * j + 2 + 5]; // High Byte byte b2 = bs[4 * j + 3 + 5]; // Low Byte uV[j] = ( (b1< uV[j] = uV[j] ^ 0x800000; //XOR uV[j] = (int)((uV[j] - 1) * 0.28610232902793037 / 6); //(Code-1)*LSB Size/Gain } Best Regards, Ru Hua

Viewing all articles
Browse latest Browse all 27392

Trending Articles