Pages

Friday 25 October 2013

Tutorial on UHD Commands for Finding USRP1 or USRP2 Device Details

This tutorial gives an overview of the commands for finding the USRP devices details. This tutorial is applicable for all USRP devices (i.e. USRP1, USRP2 etc). For higher serise USRP devices, the device address argument will change.

To start experiment with USRP devices, we have know the device serial/address. The address/serial details can obtained in two different ways.

First and foremost follow the steps listed bellow:
Step 1: connect USRP device to system through USB cable.
Step 2: Switch on power supply for device.
Step 3: Open the terminal window.

Method 1:
In the terminal window type the following command. It will prompt for the root user password and enter the password. If USRP 1 device is connected, its serial number will be seen on terminal. Please note down the the device serial number/address, as it will be used in different places.
 Command: sudo uhd_find_devices

Method 2:
The alternative to the above command is to execute the command manually. First navigate to the "/usr/local/bin" directory, where the executable is present (shown in figure 2.).


Execute the object file to obtain the device details i.e. "./uhd_find_devices". If the device is connected, it will print the details on the terminal screen, as shown in figure 3.

All the best and thank you..!!