02-17-2011 09:14 AM
Where do I find the natvie format of PCI-6133? I need to know if its 8-16-32 bit integers
02-18-2011 09:39 AM
The 6133 has 14-bit ADCs. Each sample is sign extended and transferred as a signed 16-bit integer.
William Earle
National Instruments R & D | Staff Software
Engineer | DAQ Software
02-18-2011 11:46 AM
Soi the DAQmxReadBinaryI16 should give me the raw value as read from the device
02-18-2011 12:47 PM
Hi boilermaker74,
That is correct. You can also use DAQmxReadAnalogF64 to get scaled values instead (for example, if you used DAQmxCreateAIVoltageChan, the data for that channel will be translated from raw ADC codes to volts).
William Earle
National Instruments R & D | Staff Software
Engineer | DAQ Software
02-18-2011 01:17 PM
I would like to read the scalar value but the code I am updateing using raw counts. Just out curiousity when I do a
DAQmxGetReadRawDataWidth it returns 4, so wouldn't that make the raw data 32 bit?
02-21-2011 10:14 AM
Hi boilermaker74,
Just to be clear, what subsystem are you calling DAQmxGetReadRawDataWidth for? Counters, Analog Input, Analog Output, or Digitial I/O?
William Earle
National Instruments R & D | Staff Software
Engineer | DAQ Software
02-21-2011 11:04 AM
I am using the taskhandle that includes a ai voltage channels, so I am guessing it is the analog input subsystem
02-21-2011 11:22 AM
Hi,
What version of DAQmx are you using? A quick test at my desk shows 2 bytes returned as the raw data width for Analog Input, which is what I would expect.
William Earle
National Instruments R & D | Staff Software
Engineer | DAQ Software
02-21-2011 11:28 AM
I don't have access to that machine at the moment but when I get over there I will check the version