Main Content

probesdru

USRP radio information

Add-On Required: This feature requires the Communications Toolbox Support Package for USRP Radio add-on.

Description

example

info = probesdru returns information about the USRP™ radio connected to the host computer. If more than one USRP radio is connected to the host computer, the function returns radio information for the first discovered radio. This function calls the UHD™ application uhd_usrp_probe, provided by Ettus Research™, as a system command and returns the command output.

info = probesdru(IPAddress) returns detailed information on the USRP radio located at the specified IP address.

info = probesdru(serialNum) returns detailed information on the USRP radio with the specified serial number.

example

[info,status] = probesdru(___) also returns the status of the system command execution as the Status output. A nonzero Status value indicates an error. Specify an input argument combination from any of the previous syntaxes.

Examples

collapse all

Get detailed information about the USRP radio connected to the host computer. This function syntax returns radio information for the first radio that the function finds. If more than one radio is connected to the host computer, use the probesdru(IPAddress) or probesdru(serialNum) syntax instead.

I = probesdru
I = 
    '[0;32m[INFO] [UHD] [0;39mlinux; GNU C++ version 6.3.0; Boost_107000; UHD_3.15.0.0-vendor
     [0;32m[INFO] [B200] [0;39mDetected Device: B210
     [0;32m[INFO] [B200] [0;39mOperating over USB 3.
     [0;32m[INFO] [B200] [0;39mInitialize CODEC control...
     [0;32m[INFO] [B200] [0;39mInitialize Radio control...
     [0;32m[INFO] [B200] [0;39mPerforming register loopback test... 
     [0;32m[INFO] [B200] [0;39mRegister loopback test passed
     [0;32m[INFO] [B200] [0;39mPerforming register loopback test... 
     [0;32m[INFO] [B200] [0;39mRegister loopback test passed
     [0;32m[INFO] [B200] [0;39mSetting master clock rate selection to 'automatic'.
     [0;32m[INFO] [B200] [0;39mAsking for clock rate 16.000000 MHz... 
     [0;32m[INFO] [B200] [0;39mActually got clock rate 16.000000 MHz.
       _____________________________________________________
      /
     |       Device: B-Series Device
     |     _____________________________________________________
     |    /
     |   |       Mboard: B210
     |   |   serial: 31B92DD
     |   |   name: MyB210
     |   |   product: 2
     |   |   revision: 4
     |   |   FW Version: 8.0
     |   |   FPGA Version: 16.0
     |   |   
     |   |   Time sources:  none, internal, external, gpsdo
     |   |   Clock sources: internal, external, gpsdo
     |   |   Sensors: ref_locked
     |   |     _____________________________________________________
     |   |    /
     |   |   |       RX DSP: 0
     |   |   |   
     |   |   |   Freq range: -8.000 to 8.000 MHz
     |   |     _____________________________________________________
     |   |    /
     |   |   |       RX DSP: 1
     |   |   |   
     |   |   |   Freq range: -8.000 to 8.000 MHz
     |   |     _____________________________________________________
     |   |    /
     |   |   |       RX Dboard: A
     |   |   |     _____________________________________________________
     |   |   |    /
     |   |   |   |       RX Frontend: A
     |   |   |   |   Name: FE-RX2
     |   |   |   |   Antennas: TX/RX, RX2
     |   |   |   |   Sensors: temp, rssi, lo_locked
     |   |   |   |   Freq range: 50.000 to 6000.000 MHz
     |   |   |   |   Gain range PGA: 0.0 to 76.0 step 1.0 dB
     |   |   |   |   Bandwidth range: 200000.0 to 56000000.0 step 0.0 Hz
     |   |   |   |   Connection Type: IQ
     |   |   |   |   Uses LO offset: No
     |   |   |     _____________________________________________________
     |   |   |    /
     |   |   |   |       RX Frontend: B
     |   |   |   |   Name: FE-RX1
     |   |   |   |   Antennas: TX/RX, RX2
     |   |   |   |   Sensors: temp, rssi, lo_locked
     |   |   |   |   Freq range: 50.000 to 6000.000 MHz
     |   |   |   |   Gain range PGA: 0.0 to 76.0 step 1.0 dB
     |   |   |   |   Bandwidth range: 200000.0 to 56000000.0 step 0.0 Hz
     |   |   |   |   Connection Type: IQ
     |   |   |   |   Uses LO offset: No
     |   |   |     _____________________________________________________
     |   |   |    /
     |   |   |   |       RX Codec: A
     |   |   |   |   Name: B210 RX dual ADC
     |   |   |   |   Gain Elements: None
     |   |     _____________________________________________________
     |   |    /
     |   |   |       TX DSP: 0
     |   |   |   
     |   |   |   Freq range: -8.000 to 8.000 MHz
     |   |     _____________________________________________________
     |   |    /
     |   |   |       TX DSP: 1
     |   |   |   
     |   |   |   Freq range: -8.000 to 8.000 MHz
     |   |     _____________________________________________________
     |   |    /
     |   |   |       TX Dboard: A
     |   |   |     _____________________________________________________
     |   |   |    /
     |   |   |   |       TX Frontend: A
     |   |   |   |   Name: FE-TX2
     |   |   |   |   Antennas: TX/RX
     |   |   |   |   Sensors: temp, lo_locked
     |   |   |   |   Freq range: 50.000 to 6000.000 MHz
     |   |   |   |   Gain range PGA: 0.0 to 89.8 step 0.2 dB
     |   |   |   |   Bandwidth range: 200000.0 to 56000000.0 step 0.0 Hz
     |   |   |   |   Connection Type: IQ
     |   |   |   |   Uses LO offset: No
     |   |   |     _____________________________________________________
     |   |   |    /
     |   |   |   |       TX Frontend: B
     |   |   |   |   Name: FE-TX1
     |   |   |   |   Antennas: TX/RX
     |   |   |   |   Sensors: temp, lo_locked
     |   |   |   |   Freq range: 50.000 to 6000.000 MHz
     |   |   |   |   Gain range PGA: 0.0 to 89.8 step 0.2 dB
     |   |   |   |   Bandwidth range: 200000.0 to 56000000.0 step 0.0 Hz
     |   |   |   |   Connection Type: IQ
     |   |   |   |   Uses LO offset: No
     |   |   |     _____________________________________________________
     |   |   |    /
     |   |   |   |       TX Codec: A
     |   |   |   |   Name: B210 TX dual DAC
     |   |   |   |   Gain Elements: None
     
     '

Get detailed information about the USRP radio with serial number '31B92DD'.

[info,status] = probesdru('31B92DD');
disp(info)
[0;32m[INFO] [UHD] [0;39mlinux; GNU C++ version 6.3.0; Boost_107000; UHD_3.15.0.0-vendor
[0;32m[INFO] [B200] [0;39mDetected Device: B210
[0;32m[INFO] [B200] [0;39mOperating over USB 3.
[0;32m[INFO] [B200] [0;39mInitialize CODEC control...
[0;32m[INFO] [B200] [0;39mInitialize Radio control...
[0;32m[INFO] [B200] [0;39mPerforming register loopback test... 
[0;32m[INFO] [B200] [0;39mRegister loopback test passed
[0;32m[INFO] [B200] [0;39mPerforming register loopback test... 
[0;32m[INFO] [B200] [0;39mRegister loopback test passed
[0;32m[INFO] [B200] [0;39mSetting master clock rate selection to 'automatic'.
[0;32m[INFO] [B200] [0;39mAsking for clock rate 16.000000 MHz... 
[0;32m[INFO] [B200] [0;39mActually got clock rate 16.000000 MHz.
  _____________________________________________________
 /
|       Device: B-Series Device
|     _____________________________________________________
|    /
|   |       Mboard: B210
|   |   serial: 31B92DD
|   |   name: MyB210
|   |   product: 2
|   |   revision: 4
|   |   FW Version: 8.0
|   |   FPGA Version: 16.0
|   |   
|   |   Time sources:  none, internal, external, gpsdo
|   |   Clock sources: internal, external, gpsdo
|   |   Sensors: ref_locked
|   |     _____________________________________________________
|   |    /
|   |   |       RX DSP: 0
|   |   |   
|   |   |   Freq range: -8.000 to 8.000 MHz
|   |     _____________________________________________________
|   |    /
|   |   |       RX DSP: 1
|   |   |   
|   |   |   Freq range: -8.000 to 8.000 MHz
|   |     _____________________________________________________
|   |    /
|   |   |       RX Dboard: A
|   |   |     _____________________________________________________
|   |   |    /
|   |   |   |       RX Frontend: A
|   |   |   |   Name: FE-RX2
|   |   |   |   Antennas: TX/RX, RX2
|   |   |   |   Sensors: temp, rssi, lo_locked
|   |   |   |   Freq range: 50.000 to 6000.000 MHz
|   |   |   |   Gain range PGA: 0.0 to 76.0 step 1.0 dB
|   |   |   |   Bandwidth range: 200000.0 to 56000000.0 step 0.0 Hz
|   |   |   |   Connection Type: IQ
|   |   |   |   Uses LO offset: No
|   |   |     _____________________________________________________
|   |   |    /
|   |   |   |       RX Frontend: B
|   |   |   |   Name: FE-RX1
|   |   |   |   Antennas: TX/RX, RX2
|   |   |   |   Sensors: temp, rssi, lo_locked
|   |   |   |   Freq range: 50.000 to 6000.000 MHz
|   |   |   |   Gain range PGA: 0.0 to 76.0 step 1.0 dB
|   |   |   |   Bandwidth range: 200000.0 to 56000000.0 step 0.0 Hz
|   |   |   |   Connection Type: IQ
|   |   |   |   Uses LO offset: No
|   |   |     _____________________________________________________
|   |   |    /
|   |   |   |       RX Codec: A
|   |   |   |   Name: B210 RX dual ADC
|   |   |   |   Gain Elements: None
|   |     _____________________________________________________
|   |    /
|   |   |       TX DSP: 0
|   |   |   
|   |   |   Freq range: -8.000 to 8.000 MHz
|   |     _____________________________________________________
|   |    /
|   |   |       TX DSP: 1
|   |   |   
|   |   |   Freq range: -8.000 to 8.000 MHz
|   |     _____________________________________________________
|   |    /
|   |   |       TX Dboard: A
|   |   |     _____________________________________________________
|   |   |    /
|   |   |   |       TX Frontend: A
|   |   |   |   Name: FE-TX2
|   |   |   |   Antennas: TX/RX
|   |   |   |   Sensors: temp, lo_locked
|   |   |   |   Freq range: 50.000 to 6000.000 MHz
|   |   |   |   Gain range PGA: 0.0 to 89.8 step 0.2 dB
|   |   |   |   Bandwidth range: 200000.0 to 56000000.0 step 0.0 Hz
|   |   |   |   Connection Type: IQ
|   |   |   |   Uses LO offset: No
|   |   |     _____________________________________________________
|   |   |    /
|   |   |   |       TX Frontend: B
|   |   |   |   Name: FE-TX1
|   |   |   |   Antennas: TX/RX
|   |   |   |   Sensors: temp, lo_locked
|   |   |   |   Freq range: 50.000 to 6000.000 MHz
|   |   |   |   Gain range PGA: 0.0 to 89.8 step 0.2 dB
|   |   |   |   Bandwidth range: 200000.0 to 56000000.0 step 0.0 Hz
|   |   |   |   Connection Type: IQ
|   |   |   |   Uses LO offset: No
|   |   |     _____________________________________________________
|   |   |    /
|   |   |   |       TX Codec: A
|   |   |   |   Name: B210 TX dual DAC
|   |   |   |   Gain Elements: None
disp(status)
     0

Input Arguments

collapse all

IP address of the USRP radio that is connected to the host computer, specified as a dotted-quad character vector or dotted-quad string scalar.

Data Types: char | string

Serial number of the USRP radio that is connected to the host computer, specified as a character vector or string scalar.

Data Types: char | string

Output Arguments

collapse all

USRP radio information, returned as a character vector or string scalar. If you connect more than one USRP radio to the host computer, the function returns radio information for the first discovered radio.

Status of system command execution, returned as a nonnegative integer. A nonzero value indicates an error.

Version History

Introduced in R2013a

expand all