NI does not actively maintain this document.
This content provides support for older products and technology, so you may notice outdated links or obsolete information about operating systems or other relevant products.
This guide provides information and guidance for migrating existing LabVIEW Communications 1.1 applications to LabVIEW Communications 2.0 for FlexRIO Projects. If you prefer to migrate over an existing application, this guide addresses known issues that may arise in the process. It is recommended to start with a new project in 2.0 and duplicate the original project in the newer version.
This document covers LabVIEW Communications 1.1 to 2.0 Migration Guide for FlexRIO Projects.
The guide is made up five documents covering the following topics:
Each section discusses the required steps to migrate that specific type of project. For example, if you would like to migrate a USRP streaming project, you should navigate to the USRP Projects section for guidance. If your project does not fall into the first three categories listed above, you should navigate to the General Projects section. Each section is meant to be self-contained and used independently of the others, so redundant information may be included in multiple sections.
Note: Always back up a copy of the original project before attempting any migration efforts.
This section describes the steps necessary for reusing a project that was initially based on the FlexRIO API and example projects in LabVIEW Communications 2.0.
This section includes the following subsections. Use the one that is most appropriate for the type of FlexRIO project you are migrating.
Projects using 579x targets will have broken FPGA VIs that reference the “Sample Clock”. This clock has been renamed to the “Data Clock” and must be reconfigured. Additionally, the register bus FIFO has changed. Hence, an FPGA bitfile rebuild is required.
The following steps demonstrate the changes for the basic NI 5971 Rx and Tx portions of the PXIe NI-579x Streaming project. However, these same changes can be duplicated for the other NI 579x and MIMO portions.
Figure 92: Convert Dialog
Figure 93: Files to Delete from “5791 Resources.grsc”
Figure 94: Data Clock References in “Streaming Xcvr (NI 5791) (FPGA).gvi”
Figure 95: Updated Register Bus in “Streaming Xcvr (NI5791) (FPGA).gvi”
Figure 96: Compile the Project
Figure 97: Option to Exclude Bitfile
The FIFO resource names in the Host subVIs that interface with DMA FIFOs must be updated. This includes VIs which aren't in VI.lib (Sample Project VIs and User VIs). In LabVIEW Communications 2.0, the FIFO resource contains additional prefixes for the FPGA resource file name along with the FIFO name itself. For example, “Host Tx Stream” becomes “5791 Resources.grsc\Host Tx Stream.” All FIFO node instances (Start/Stop, Configure, and Read/Write), along with any FPGA reference terminals, must be updated.
Use your newly compiled bitfile from step 10 above to get access to the DMA FIFO references required.
Figure 98: Right-Hand Rail Configure Option for “ConstantData1”
i. In the “FPGA Interface Dynamic Refnum Configuration“ dialog, click Import bitfile and browse to your recently compiled bitfile.
Note: The default location will be in the <project directory>\Builds folder but this, along with the file name, will vary based on the configuration of the build spec used during compile.
Figure 99: Import Bitfile
ii. (Optional) With the “FPGA Interface Dynamic Refnum Configuration“ dialog still open, remove all unused resources by clicking the X symbol on the right side.
Note: This will not affect functionality but may make it easier to view used resources at a later time.
iii. Click OK in the “FPGA Interface Dynamic Refnum“ dialog.
c. Repeat this for “ConstantData1_2”.
Figure 100: Right-Hand Rail Configure Option for “ConstantData1_2”
d. Navigate to the “rx” case to repeat this process for “ConstantData2” and “ConstantData2_2”
Figure 101: Update References in “rx” Case
e. Update to the new DMA FIFO's in each Case Structure for each “rx” and “tx” case as well as any nested Case Structures. Each case will contain one, or more, FIFO nodes of a Start DMA FIFO, Stop DMA FIFO, and Configure DMA FIFO. Using the right-hand rail configuration, update each FIFO node to the following:
i. Host Tx Stream » 5791 Resources.grsc\Host Tx Stream
ii. Host Rx Stream » 5791 Resources.grsc\Host Rx Stream
Figure 102: Update DMA FIFOs
i. Host Rx Stream » 5791 Resources.grsc\Host Rx Stream
ii. Host Rx Stream » 5791 Resources.grsc\Host Rx Stream
Figure 103: Update FIFOs and References for “Fetch Rx Data (CDB WDT).gvi”
i. Host Tx Stream » 5791 Resources.grsc\Host Tx Stream
ii. Host Tx Stream » 5791 Resources.grsc\Host Tx Stream
Figure 104: Update FIFOs and References for “Write Tx Data (I16 multi).gvi”
Figure 105: Update the Bitfile Reference on “Tx Streaming (Host).gvi”
Figure 106: Lowering the Amplitude Setting for the “Generate Waveform.gvi”
Note: Similar changes must be made if any DMA FIFO's were added to the project in previous versions of LabVIEW Communications.
Continue onto other sections of the LabVIEW Communications 1.1 to 2.0 Migration Guide for:
The LabVIEW Communications product documentation provides detailed information in addition to the tasks discussed in this guide. Hardware manuals also contain valuable information about the features and performance characteristics of NI RIO devices.
The main NI support page, ni.com/support, provides quick access to manuals, KnowledgeBase documents, tutorials, example code, community forums, technical support, and customer service.