From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Binary to Voltage Conversion of encoder data on cRio 9073 using FPGA

I am using FPGA with a cRio 9073 to acquire torque and absolute quadrature encoder values. It says in the FPGA instructions that the documentation for the 9073 should include the binary to voltage conversion, but when I looked at the documentation, it wasn't there. Where can I find the conversion value or function to convert binary encoder data back to voltage? The encoder is hooked up to an analog converter and is acquired with a 9215 AI (+-10V differential). Thanks

0 Kudos
Message 1 of 3
(2,363 Views)

There are individual formulas for one or a group of modules.

 

LabView examples path:

LabVIEW 2010\examples\CompactRIO\Basic IO\Analog Raw Host Calibration\AI Raw Host Calibration

 

 

LabView help topic 

Converting and Calibrating CompactRIO Analog Input Values (FPGA Interface)

 

Best regards

Christian

0 Kudos
Message 2 of 3
(2,348 Views)

Thanks a lot. I ended up going into the FPGA target program and pulling out the conversion values. Data looks good and I am happy.

0 Kudos
Message 3 of 3
(2,282 Views)