I am acquiring data from a 16 bit M series board. Right now I am using the unscaled Analog 2D I16 NChan NSamp DAQmx Read vi, but my channel is scaled unipolar from 0 to 10 V. Being I16, my unscaled data can only go from -32767 to 32767. So does my 0 to 10V range map into 0 to 32767, or is it mapped internally to 0 to 65336 and then truncated to 0 to 32767? Using I16's for a unipolar range is basically wrong, but since I am doing it, how is the data being scaled? I've really only got 15 bits for the 16 bits of the data - am I losing the LSB or the MSB?
The right way to do this would likely be to use the U16 NChan NSamp Read for a unipolar gain. But can anyone clarify how the I16 Read is dealt with for data from a Unipolar channel?
Thanks,
Dave
-------------------------------------------------------------
David Thomson Original Code Consulting
www.originalcode.com
National Instruments Alliance Program Member
Certified LabVIEW Architect
Certified Embedded Systems Developer
-------------------------------------------------------------
There are 10 kinds of people: those who understand binary, and those who don't.