02-23-2007 03:38 AM
02-26-2007
05:35 PM
- last edited on
08-22-2025
09:36 AM
by
Content Cleaner
Hello Rags,
The value returned by your analog input (AI) function (such as AI_Read) is an array of integers that represents the analog to digital (A/D) conversion of your data. The DAQ_VScale and AI_VScale functions convert the integer values to an actual voltage reading (LabVIEW does the conversion automatically).
If you look at page B-8 of the NI-DAQ Function Reference Manual, you will see that the formula is listed there. What you could do is read the raw data using DAQmx and then just apply that formula to your readings. In DAQmx the scaling is automatically taken care of for you. Are you sure you are using the DAQmxReadAnalogF64 function and not the DAQmxReadAnalogScalarF64 function?
Best Regards,
Raajit L
02-26-2007 10:21 PM