This guide provides information and guidance for migrating existing LabVIEW Communications 1.1 applications to LabVIEW Communications 2.0 for the LTE Application Framework. 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 the LTE Application Framework.
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 necessary steps if you want to reuse a project that was created based on the LTE Application Framework v1.1 (created in LabVIEW Communications 1.1) in LabVIEW Communications 2.0.
The section includes the following steps, each with their own subsection:
Because the FPGA compile tools uses a new Xilinx Vivado Toolchain version, all Xilinx IP cores must be updated to the new version. By configuring the IP cores again, the dependencies are regenerated ensuring that they will be compatible with the latest Vivado version to ensure successful compilations.
The affected files can be found by completing the following steps:
Figure 23: Error list showing affected files for Xilinx IP Core reconfiguration
Figure 24: How to reconfigure a Xilinx IP Core (1)
Figure 25: How to reconfigure a Xilinx IP Core (2)
Figure 26: "Not Ready" warning because Xilinx tool is processing the IP in the background
Because the USRP interface (40 MHz BW) used in the LTE Application Framework v1.1 is deprecated with LabVIEW Communications 2.0, the new interface must now be used on the FPGA top-level. The new interface now handles both the 40 MHz BW and 120 MHz BW USRP models with the same interface. Hence, an FPGA bitfile rebuild is required.
Without the rebuild, Error -61206 will occur when running the Host top-level, for example, “LTE Host DL.gvi” as shown in Figure 27.
Figure 27: Error -61206 occurs when running the Host Top-Level without migrating the USRP interface
b. Copy these on disk and paste to the <project directory>\USRP RIO 40 MHz BW\FPGA directory in the original project.
c. In the “Project Files” view on the Navigation Pane of the original project, the new files will appear slightly grayed out. Right-click on each and select Include, as shown in Figure 30.
d. Since the “Create Resources.gvi” is not a specific FPGA document (for example, CDL, MRD, and so on), there may be a prompt to select the target that the file should reside under. Select the same USRP target that your other files in this directory reside under.
Figure 30: Include Copied Files
Figure 31: CDLs noted in Step 7
Figure 32: Clock-Driven Loops for interfacing with the USRP on the FPGA Top-Level
Figure 33: Deleting the Clock-Driven Loops for interfacing with the USRP
Figure 34: USRP Interface Elements to be copied to the FPGA Top-Level
Figure 37: Exclude and include the FPGA Top-Level again to make sure it is loaded correctly
The FIFO resource names in the Host subVIs which interface with DMA FIFOs must be updated.
In LabVIEW Communications 1.0/1.1, the FIFO name contained only the name itself, for example, “PDSCH Decoding Status“. In LabVIEW Communications 2.0, the FIFO resource contains of the prefixes the FPGA resource file name and the FIFO name itself, for example, “USRP Resources.grsc\PDSCH Decoding Status“.
Therefore, all occurrences of “Configure DMA FIFO“, “Read DMA FIFO“ and “Write DMA FIFO“ must be updated to reference the new name.
The list of VIs which require modification for “LTE Host DL.gvi” is included in Table 2. If you miss one occurrence of a DMA FIFO operation, you will receive error -61206 during run-time as shown in Figure 38 in which the error indicates that the FIFO resource name of the node “Configure DMA FIFO“ is incorrect in the file “LTE DL RX FIFO Initialization.gvi.“
Table 2: FIFO “Operations in LTE Host DL.gvi”
Figure 38: Error -61206 occurred because of incorrect FIFO resource name
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.