Reference Information for NI USRP Radio Setup Wizard
The Radio Setup wizard of the Wireless Testbench™ Support Package for NI™ USRP™ Radios leads you through several steps to connect and set up your radio for use in Wireless Testbench. Use this section as a reference to get more information about how to perform these steps. For more information about how to start the wizard, see Start Radio Setup Wizard.
SD Card Image Creation
For NI USRP radios, the host computer must have at least one microSD card reader and one writable microSD card. The radio takes a microSD card, and if the host has a standard SD card reader you can use an adapter. The SD card must have at least 14.8 GB of storage and must be formatted as a single 14.8 GB (or greater) partition. If the host computer does not have an integrated card reader, use an external USB SD card reader. If you have already set up an SD card with the Linux system file image, select the I have SD Card Setup and Connected to Hardware option on the Radio Setup wizard and click Next to proceed with the hardware setup.
Radio Device Connection
The Ethernet connection is often referred to as a network connection. You can use an integrated network interface card (NIC) with a Gigabit Ethernet cable. This connection is necessary for transmitting data, such as the field programmable gate array (FPGA) image or firmware image, from the computer to the radio. It is also necessary for sending and receiving signals to and from the radio. For NI USRP radios, the host computer must contain at least one dedicated 1 or 10 Gigabit network interface card (NIC) for connecting to the radio. You can use the small form-factor pluggable (SFP) network interface with a Gigabit Ethernet cable.
The network configuration of the host IP address is persistent on Windows® (it is in effect even after you reboot the machine). However, on Linux® systems, unless you make the changes in your network connection persistent, a system reboot resets the network connection changes and loses the host-to-radio connection.
To retain the host-to-radio connection after a computer reboot on Linux systems, make the network connection changes to the host computer persistent
by editing the
/etc/network/interfacesto define settings for
Use an IP address on the same subnet as your radio (that is, with three initial octets that match those of your radio) and a unique value for the fourth octet. For example:
auto eth1 iface eth1 inet static address 192.168.30.1 netmask 255.255.255.0
Data Transfer Optimization
To optimize the transfer speed between the host computer and the radio, you must update the FastSendDatagramThreshold registry key on Windows or the wmem and rmem network buffer sizes on Linux systems. To automatically update your operating system with this setting, click Press here to set in the Validate step of the Radio Setup wizard. If you encounter issues during this update, follow these steps to manually update your operating system.
Locate the FastSendDatagramThreshold.reg file at UHD_INSTALL/win64 path by running these commands.
>> uhd_install_location = getUHDInstallLocation('uhdbinary.instrset') >> cd(fullfile(uhd_install_location,'win64'))
Double click and run the FastSendDatagramThreshold.reg file.
Restart your machine.
Run these commands in a terminal.
`echo "net.core.rmem_max=2500000" | sudo tee -a /etc/sysctl.conf` `echo "net.core.wmem_max=2500000" | sudo tee -a /etc/sysctl.conf` `sudo sysctl -p`