07-22-2009 09:31 AM
how to convert analog input values for calculation in SBRIO 9631 board?,
give examples for SBRIO 9631 board?
08-13-2009 06:37 PM
The analog input values are in binary format, I16, -32768 for -10V and 32767 for +10V. This is enough information to do the conversion on the RT side.
For examples, they are all found in LabVIEW example finder.
08-14-2009 12:05 AM
hi
If I get your query right, you want to convert the binary value acquired by SBRIO FPGA to a readable engineering format.
Here's the formula: Input Engineering Units = (Binary Value * LSB Weight - Offset)
where LSB weight = (Nominal Voltage Range)/(2^ADC Resolution). This is module specific.
Binary value is the value returned by the FPGA I/O Node.
Programatically: In the FPGA part of the program you can directly acquire the LSB and offset values
and give these channel calibiration coefficients and module number to the "Binary to Nominal"vi, on the RT/host part of the code. It does the conversion.
thanks
Ravi.