Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

NI PCI 6251 correct integer scaling

Solved!
Go to solution

I am using the NI PCI 6251 and DAQmx in Labview to acquire voltage data with the range set -10V to 10V.  I want to acquire the raw unscaled 16bit integer data from the card and save it to disk, but I want to display scaled data on the oscilloscopes of my data slave.  I also will need to scale the saved data later to analyze in MATLAB.

 

I assumed that the scaling factor would be 20/(2^16), but when I display data scaled this way I seem to be getting slightly different readings than I do when I have DAQmx acquire  and display scaled data directly.

 

Shown here is my data acquisition step:dataacq.JPG

Is this the correct scaling method for this card?

 

Thanks,

-Jack Wimbish

0 Kudos
Message 1 of 3
(3,567 Views)
Solution
Accepted by topic author Jack W.

Hi Jack,

 

M-Series devices such as your PCI-6251 are calibrated in software, which means that you cannot use the method of multiplying by voltage range and dividing by 2^16.  To see how to get correct scaling coefficients, please check out this knowledge base:

 

http://digital.ni.com/public.nsf/allkb/0FAD8D1DC10142FB482570DE00334AFB

 

Hope this helps,
Dan

0 Kudos
Message 2 of 3
(3,558 Views)
Thanks, that was what I needed.
0 Kudos
Message 3 of 3
(3,540 Views)