Hi Pera2,
BinaryCodes gives you access to the actual binary numbers the analog-to-digital converter reads from your signal. Because the resolution of your board is 16 bits, each binarycode in BinaryCodes will be 16 bits long. When you read this data keep that in mind. You'll want to read the binary equivalent from the values in BinaryCodes. Also, 16 bits is the size of an integer on most machines. If you choose to read the data out of BinaryCodes as decimal numbers instead of binary, you should use unsigned int (16 bits with a range of 0 to 65535) because your data should remain positive (0 - 10V). There isn't a setting on the PCI-6033E to change this. If you want to read just the numeric equivalent (decimal), you can use the ScaledData array which returns lo
ng data types (either unsigned or signed depending on the signal). To set which type of data you'll be interested in (ScaledData, BinaryCodes, or both) right click on the CWAI control; go to the "buffer" tab; select "return data" as scaled, binary, or scaled and binary.
Thanks,
Ted F.
National Instruments