mheien
2007-12-04 17:40:13 UTC
Hi, I am collecting data using a M-series 6221. Because I am collecting a lot of data, I am collecting and storing it in binary format. The card is 16 bit, and I have the voltage range set up to +/- 10 V.
So, when converting the binary data back to voltage, I need to multiply my binary number by 20 V / 2^ 16 bits to get the binary number back in bits. But there is a problem here....when I apply 5 V and measure it, I only read ~ 15 000 bits instead of 16 384 (converting to ~4.7 V). I have tried this with multiple cards. The number seems to be off by ~ 8-9% each time at different voltages. I am runnning in differential mode. Am I doing something wrong? Is the range of the bits really larget than +/- 10 V?
Thanks,
Michael
So, when converting the binary data back to voltage, I need to multiply my binary number by 20 V / 2^ 16 bits to get the binary number back in bits. But there is a problem here....when I apply 5 V and measure it, I only read ~ 15 000 bits instead of 16 384 (converting to ~4.7 V). I have tried this with multiple cards. The number seems to be off by ~ 8-9% each time at different voltages. I am runnning in differential mode. Am I doing something wrong? Is the range of the bits really larget than +/- 10 V?
Thanks,
Michael