12-16-2015 03:00 PM - edited 12-16-2015 03:03 PM
I am using myRIO 1900 and LabVIEW 2015. On the fpga side of myRIO, the Audio IN terminal is giving values in integer data (I16), whereas on RT side of myRIO the real value will come directly.
From the User guide of myRIO 1900 (see page 7 and 8), the full scale value of myRIO Audio IN is +/- 2.5V. Considering this, my I16 value 32767 has to corresponds to +2.5V and so on.. [ Please refer this ]
But problem is my RT side data is not matching with the FPGA side data after using the above conversion [namely (I16 value * 2.5)/32767]. I am getting a correction factor of approx 16 i.e RT side value = FPGA converted value *16.
I cannot understand this, Please explain if someone has expertise in this.
Solved! Go to Solution.
12-17-2015 04:02 AM
Hey,
for the conversion refer to page 10 of the named manual.
The Value form the ADC has a range of 0 to 4096.
LSB = 5V / 2^12 = 1,22 mV
RT Value = FPGA I16 Value * LSB