Programming the Device
- Updated2023-02-20
- 2 minute(s) read
Programming the Device
You can use the NI-USRP instrument driver to create communications applications for the USRP device .
NI-USRP Instrument Driver
The NI-USRP instrument driver features a set of functions and properties that exercise the capabilities of the USRP device , including configuration, control, and other device-specific functions.
NI-USRP Examples
NI-USRP includes several example applications that serve as interactive tools, programming models, and building blocks in your own applications.
- From the Start menu at
- From the LabVIEW Functions palette at
Verifying the Device Connection (Optional)
Verifying the Device Connection Using LabVIEW NXG or LabVIEW Communications System Design Suite 2.1 to Current
Use USRP Rx Continuous Async to confirm that the device receives signals and is connected correctly to the host computer.
- Navigate to .
- Select Rx Continuous Async. Click Create.
-
Run USRP Rx Continuous Async.
If the device is receiving signals you will see data on the front panel graphs.
- Click STOP to conclude the test.
Verifying the Device Connection Using LabVIEW
Perform a loopback test to confirm that the device transmits and receives signals and is connected correctly to the host computer.
- Attach the included 30 dB attenuator to one end of the SMA (m)-to-SMA (m) cable.
- Connect the 30 dB attenuator to the RX 2 TX 2 connector on the front panel of the USRP device and connect the other end of the SMA (m)-to-SMA (m) cable to the RX 1 TX 1 port.
- On the host computer, navigate to .
-
Open the niUSRP EX Tx Continuous Async example VI and run it.
If the device is transmitting signals, the I/Q graph displays I and Q waveforms.
-
Open the niUSRP EX Rx Continuous Async example VI and run it.
If the device is transmitting signals, the I/Q graph displays I and Q waveforms.