Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
4 ratings:
 3.75 out of 5     Rate this Document

Moving CompactRIO VIs with Uncalibrated Data to FPGA Targets with Calibrated Data

Primary Software: Driver Software>>NI-RIO
Primary Software Version: 2.4
Primary Software Fixed Version: 2.4
Secondary Software: N/A
Hardware: CompactRIO>>Analog Input Modules

Problem:
In versions of NI-RIO prior to 2.4, C Series Modules only return binary (uncalibrated) data, which requires the host VI to apply calibration coefficients and convert the data to engineering units in software. After installing NI-RIO 2.4 or later, the default behavior for AI/AO modules is to use calibrated data.  When a VI using binary (uncalibrated) I/O is moved in the LabVIEW project to another FPGA target with default module configuration, the VI might open in a broken state.  How can I change the module configuration back to uncalibrated data?

Solution:
If you copy, cut, or paste an FPGA VI using uncalibrated C Series data to another FPGA target in the LabVIEW project to create additional target-specific application instances of the FPGA VI, you should also copy and paste FPGA I/O items, FPGA clocks, FPGA FIFOs, and FPGA memory items to preserve project settings. However, if you move an FPGA VI using uncalibrated C Series data without preserving project settings, you can change the calibration mode back to uncalibrated by right-clicking the module in the project, selecting Properties, and changing the Calibration Mode to Raw in the C Series Module Properties dialog box. 

Many examples in the Example Finder were developed using modules that return uncalibrated, or raw, data.  If you copy just the FPGA VI into a new project in LabVIEW 8.5 or later, the VI may open successfully but you will not see expected results when its run.  Simply changing the module's Calibration Mode should correct this.



Related Links:
Developer Zone Tutorial: Moving Examples to Another FPGA Target

Attachments:
Raw data.JPG





Report Date: 01/30/2008
Last Updated: 05/05/2009
Document ID: 4HTGM3LX

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