Switching Between Calibrated Fixed-Point and Raw Integer Modes for FPGA I/O Node

Updated May 14, 2019

Reported In

Software

  • LabVIEW FPGA Module
  • LabVIEW Real-Time Module

Issue Details

How can I select either calibrated fixed-point or raw integer data types for the I/O nodes of my C-Series module?

Solution

With LabVIEW 8.5 or later and NI-RIO 2.4 or later, this can be done by changing the Calibration Mode (Raw or Calibrated) in the properties of the C Series module. This can be done in the Project Explorer window by right-clicking the module and selecting Properties:

When you toggle between Raw and Calibrated, the I/O nodes on the block diagram will change between Blue and Grey, representing Raw and Calibrated, respectively.
To see a list of the units returned using calibrated data, refer to this guide.

Additional Information

As of LabVIEW 8.6, there is an option to use the cRIO Scan Engine to interface modules directly to LabVIEW Real-Time by using I/O variables.  In this case, the option to select raw or calibrated is not available in the properties dialog. When using Scan Mode, all data is automatically returned scaled and calibrated.