Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Native format of PCI-6133?

Where do I find the natvie format of PCI-6133?  I need to know if its 8-16-32 bit integers

0 Kudos
Message 1 of 9
(3,734 Views)

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

0 Kudos
Message 2 of 9
(3,712 Views)

Soi the DAQmxReadBinaryI16 should give me the raw value as read from the device

0 Kudos
Message 3 of 9
(3,703 Views)

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

0 Kudos
Message 4 of 9
(3,697 Views)

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?

0 Kudos
Message 5 of 9
(3,689 Views)

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

0 Kudos
Message 6 of 9
(3,643 Views)

I am using the taskhandle that includes a ai voltage channels, so I am guessing it is the analog input subsystem

0 Kudos
Message 7 of 9
(3,635 Views)

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

0 Kudos
Message 8 of 9
(3,629 Views)

I don't have access to that machine at the moment but when I get over there I will check the version

0 Kudos
Message 9 of 9
(3,627 Views)