Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Why Do I See Large Binary Values Coming From Coming from My Analog FPGA Reading

Primary Software: LabVIEW Modules>>FPGA Module
Primary Software Version: 1.0
Primary Software Fixed Version: N/A
Secondary Software: N/A
Hardware: CompactRIO>>Analog Input Modules

Problem:
I am seeing raw binary data that is outside of the range of my analog device.


Solution: It is possible to see raw binary data such as the value 4.29E+9 coming from a 24 bit analog module. These values can occur when the binary reading from the module is negative. The FPGA I/O node output for an analog reading is an I32. If this is read by a node, such as a DMA Read on a host VI, that outputs a U32, an unexpectedly large number will be read. This is normally corrected by the Binary to Nominal VI found in many cRIO examples. However, you can also use the To Long Integer function to correct this problem.




Related Links:

Attachments:





Report Date: 01/31/2008
Last Updated: 03/19/2008
Document ID: 4HUDE84H

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit