LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Acquire analog data with 16-bit precision

Solved!
Go to solution

I am using PCI 6259 DAQ which only supports 16-bit ADC. Analog 2D DBL NChan NSamp vi gives a data output of 64-bit double array. Since I am wasting most of the bits and the memory, is there any way to get get a 16-bit floating point number? If not, how about 32-bit single-point precision? I know you can convert numbers between data types but converting a whole array of data in a real-time loop will probably cause a decrease in system performance.

 

 

0 Kudos
Message 1 of 4
(2,405 Views)

NI DAQ-MX Read is polumorphic, try using the Unscaled data Nchannel N Data I16 Value if you want to scale data yourself.

 

 

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 2 of 4
(2,404 Views)
Solution
Accepted by topic author abdel2
Typo, sorry should read polymorphic.
Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 3 of 4
(2,403 Views)
Thanks, I'll look into that.
0 Kudos
Message 4 of 4
(2,365 Views)