LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 

rio board digital output configuraion

how to convert analog input values for calculation in SBRIO 9631 board?,

give examples for SBRIO 9631 board?

0 Kudos
Message 1 of 3
(6,356 Views)

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.

Rob K
Measurements Mechanical Engineer (C-Series, USB X-Series)
National Instruments
CompactRIO Developers Guide
CompactRIO Out of the Box Video
0 Kudos
Message 2 of 3
(6,287 Views)

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 

FPGA.jpg 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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.

 

0 Kudos
Message 3 of 3
(6,273 Views)