Main Content

probesdru

USRP radio information

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.

[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) syntax instead.

I = probesdru
ans =
 
    '[INFO] [UHD] Win32; Microsoft Visual C++ version 14.2; Boost_107800; UHD_4.2.0.0-vendor
     [INFO] [MPMD] Initializing 1 device(s) in parallel with args: mgmt_addr=192.168.20.2,type=n3xx,product=n320,serial=3202230,name=ni-n3xx-3202230,fpga=HG,claimed=False,addr=192.168.20.2
     [INFO] [MPM.main] Launching USRP/MPM, version: 4.2.0.1-g321295fb
     [INFO] [MPM.main] Spawning RPC process...
     [INFO] [MPM.PeriphManager] Device serial number: 3202230
     [INFO] [MPM.Rhodium-0] Successfully loaded all peripherals!
     [INFO] [MPM.Rhodium-1] Successfully loaded all peripherals!
     [INFO] [MPM.PeriphManager] Initialized 2 daughterboard(s).
     [INFO] [MPM.PeriphManager] No QSFP board detected: Assuming it is disabled in the device tree overlay (e.g., HG, XG images).
     [INFO] [MPM.PeriphManager] init() called with device args `rpc_timeout_interval=60,clock_source=internal,time_source=internal'.
     [INFO] [MPM.Rhodium-0] init() called with args `rpc_timeout_interval=60,clock_source=internal,time_source=internal'
     [INFO] [MPM.Rhodium-1] init() called with args `rpc_timeout_interval=60,clock_source=internal,time_source=internal'
     [INFO] [MPM.Rhodium-0.init.LMK04828] LMK initialized and locked!
     [INFO] [MPM.Rhodium-1.init.LMK04828] LMK initialized and locked!
     [INFO] [MPM.Rhodium-0.DAC37J82] DAC PLL Locked!
     [INFO] [MPM.Rhodium-0.AD9695] ADC PLL Locked!
     [INFO] [MPM.Rhodium-0.init] JESD204B Link Initialization & Training Complete
     [INFO] [MPM.Rhodium-1.DAC37J82] DAC PLL Locked!
     [INFO] [MPM.Rhodium-1.AD9695] ADC PLL Locked!
     [INFO] [MPM.Rhodium-1.init] JESD204B Link Initialization & Training Complete
     [INFO] [MPM.RPCServer] RPC server ready!
     [INFO] [MPM.RPCServer] Spawning watchdog task...
     [INFO] [MPM.PeriphManager] init() called with device args `fpga=HG,mgmt_addr=192.168.20.2,name=ni-n3xx-3202230,product=n320,clock_source=internal,time_source=internal'.
     [INFO] [MPM.Rhodium-0] init() called with args `fpga=HG,mgmt_addr=192.168.20.2,name=ni-n3xx-3202230,product=n320,clock_source=internal,time_source=internal'
     [INFO] [MPM.Rhodium-1] init() called with args `fpga=HG,mgmt_addr=192.168.20.2,name=ni-n3xx-3202230,product=n320,clock_source=internal,time_source=internal'
     [WARNING] [RFNOC::BLOCK_FACTORY] Could not find block with Noc-ID 0xdae3ede7, 0xffff
     [INFO] [0/Block#0] Setting default MTU forward policy.
     [WARNING] [RFNOC::BLOCK_FACTORY] Could not find block with Noc-ID 0xdae2543f, 0xffff
     [INFO] [0/Block#1] Setting default MTU forward policy.
     [WARNING] [RFNOC::BLOCK_FACTORY] Could not find block with Noc-ID 0xdafa7703, 0xffff
     [INFO] [0/Block#2] Setting default MTU forward policy.
     [WARNING] [RFNOC::BLOCK_FACTORY] Could not find block with Noc-ID 0xd937c02f, 0xffff
     [INFO] [0/Block#3] Setting default MTU forward policy.
       _____________________________________________________
      /
     |       Device: N300-Series Device
     |     _____________________________________________________
     |    /
     |   |       Mboard: ni-n3xx-3202230
     |   |   dboard_0_pid: 338
     |   |   dboard_0_serial: 31FF4F1
     |   |   dboard_1_pid: 338
     |   |   dboard_1_serial: 31FF506
     |   |   eeprom_version: 3
     |   |   fs_version: 20220728200715
     |   |   mender_artifact: v4.2.0.1_n3xx
     |   |   mpm_sw_version: 4.2.0.1-g321295fb
     |   |   pid: 16962
     |   |   product: n320
     |   |   rev: 10
     |   |   rpc_connection: remote
     |   |   serial: 3202230
     |   |   type: n3xx
     |   |   MPM Version: 4.2
     |   |   FPGA Version: 8.0
     |   |   FPGA git hash: fffffff.dirty
     |   |   RFNoC capable: Yes
     |   |   
     |   |   Time sources:  internal, external, gpsdo, sfp0
     |   |   Clock sources: external, internal, gpsdo
     |   |   Sensors: ref_locked, gps_locked, temp, fan, gps_gpgga, gps_sky, gps_time, gps_tpv
     |     _____________________________________________________
     |    /
     |   |       RFNoC blocks on this device:
     |   |   
     |   |   * 0/Block#0
     |   |   * 0/Block#1
     |   |   * 0/Block#2
     |   |   * 0/Block#3
     |   |   * 0/DDC#0
     |   |   * 0/DUC#0
     |   |   * 0/Radio#0
     |   |   * 0/Radio#1
     |   |   * 0/Replay#0
     |   |   * 0/Switchboard#0
     |   |   * 0/Switchboard#1
     |     _____________________________________________________
     |    /
     |   |       Static connections on this device:
     |   |   
     |   |   * 0/SEP#0:0==>0/DUC#0:0
     |   |   * 0/DUC#0:0==>0/Switchboard#0:0
     |   |   * 0/Switchboard#0:0==>0/Radio#0:0
     |   |   * 0/Switchboard#0:1==>0/Radio#1:0
     |   |   * 0/Radio#0:0==>0/Switchboard#1:0
     |   |   * 0/Radio#1:0==>0/Switchboard#1:1
     |   |   * 0/Switchboard#1:0==>0/Block#2:0
     |   |   * 0/Block#2:0==>0/DDC#0:0
     |   |   * 0/DDC#0:0==>0/SEP#0:0
     |   |   * 0/SEP#1:0==>0/Replay#0:0
     |   |   * 0/Replay#0:0==>0/SEP#1:0
     |   |   * 0/SEP#2:0==>0/Replay#0:1
     |   |   * 0/Replay#0:1==>0/SEP#2:0
     |   |   * 0/SEP#3:0==>0/Block#0:0
     |   |   * 0/Block#0:0==>0/SEP#3:0
     |   |   * 0/SEP#4:0==>0/Block#1:0
     |   |   * 0/Block#1:0==>0/SEP#4:0
     |   |   * 0/SEP#5:0==>0/Block#1:1
     |     _____________________________________________________
     |    /
     |   |       TX Dboard: 0/Radio#0
     |   |     _____________________________________________________
     |   |    /
     |   |   |       TX Frontend: 0
     |   |   |   Name: Rhodium
     |   |   |   Antennas: TX/RX, CAL, TERM
     |   |   |   Freq range: 1.000 to 6000.000 MHz
     |   |   |   Gain range all: 0.0 to 60.0 step 1.0 dB
     |   |   |   Bandwidth range: 250000000.0 to 250000000.0 step 0.0 Hz
     |   |   |   Connection Type: 
     |   |   |   Uses LO offset: No
     |     _____________________________________________________
     |    /
     |   |       RX Dboard: 0/Radio#0
     |   |     _____________________________________________________
     |   |    /
     |   |   |       RX Frontend: 0
     |   |   |   Name: Rhodium
     |   |   |   Antennas: TX/RX, RX2, CAL, TERM
     |   |   |   Freq range: 1.000 to 6000.000 MHz
     |   |   |   Gain range all: 0.0 to 60.0 step 1.0 dB
     |   |   |   Bandwidth range: 250000000.0 to 250000000.0 step 0.0 Hz
     |   |   |   Connection Type: 
     |   |   |   Uses LO offset: No
     |     _____________________________________________________
     |    /
     |   |       TX Dboard: 0/Radio#1
     |   |     _____________________________________________________
     |   |    /
     |   |   |       TX Frontend: 0
     |   |   |   Name: Rhodium
     |   |   |   Antennas: TX/RX, CAL, TERM
     |   |   |   Freq range: 1.000 to 6000.000 MHz
     |   |   |   Gain range all: 0.0 to 60.0 step 1.0 dB
     |   |   |   Bandwidth range: 250000000.0 to 250000000.0 step 0.0 Hz
     |   |   |   Connection Type: 
     |   |   |   Uses LO offset: No
     |     _____________________________________________________
     |    /
     |   |       RX Dboard: 0/Radio#1
     |   |     _____________________________________________________
     |   |    /
     |   |   |       RX Frontend: 0
     |   |   |   Name: Rhodium
     |   |   |   Antennas: TX/RX, RX2, CAL, TERM
     |   |   |   Freq range: 1.000 to 6000.000 MHz
     |   |   |   Gain range all: 0.0 to 60.0 step 1.0 dB
     |   |   |   Bandwidth range: 250000000.0 to 250000000.0 step 0.0 Hz
     |   |   |   Connection Type: 
     |   |   |   Uses LO offset: No
     '
A(1)
ans =
 
  struct with fields:
 
     Platform: 'X310'
    IPAddress: '192.168.40.2'
    SerialNum: '31D3D75'
       Status: 'Success'

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