Example Codes for USRP RIO

Updated Jun 24, 2021

Reported In

Hardware

  • USRP Software Defined Radio Reconfigurable Device
  • USRP-2954
  • USRP-2943
  • USRP-2944
  • USRP-2953
  • USRP-2942
  • USRP-2952
  • USRP-2940
  • USRP-2950
  • USRP-2945
  • USRP-2955
  • USRP-2974

Software

  • LabVIEW

Driver

  • NI-USRP

Issue Details

I would like to start working with a USRP RIO and need some example codes. Where can I find LabVIEW examples for the USRP RIO?

Solution

The USRP RIO is typically used in two ways:
  1. FPGA based programming
For applications where you want to make modifications to the underlying FPGA code on the USRP for adding custom DSP blocks, use the USRP Sample Project. It serves as starting points to build a USRP RIO streaming application and is accessed from the Create Project dialog. Select Sample Projects in the left pane and navigate to the NI-USRP Simple Streaming project to start working with the same. Following you can see a screenshot:
  1. Host-based programming
For applications where you do not want to make modifications to the underlying FPGA code in the USRP, the host-based examples can be used to work with USRP RIO as well. Several examples for LabVIEW which serve as interactive tools, programming models, and as building blocks in your applications can be accessed from the following locations:
  • From the Start menu at Start»All Programs»National Instruments»NI-USRP»ExamplesUSRP Shipping Examples
  • From the LabVIEW Functions palette at Instrument I/O»Instrument Drivers»NI-USRP»Examples

Additional Information

If the NI-USRP Simple Streaming project is not available in LabVIEW Create Project dialog, verify: