probesdru
USRP radio information
Syntax
Description
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 info
= probesdruuhd_usrp_probe
, provided by Ettus Research™, as a system command and returns the command output.
Examples
Get USRP Radio Information
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
IPAddress
— IP address of USRP radio
dotted-quad character vector | dotted-quad string scalar
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
serialNum
— Serial number of USRP radio
character vector | string scalar
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
info
— USRP radio information
character vector | string scalar
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
— Status of system command execution
nonnegative integer
Status of system command execution, returned as a nonnegative integer. A nonzero value indicates an error.
Version History
Introduced in R2013aR2024a: Support for N3xx and X3xx series radio devices moved to Wireless Testbench
Support for NI™ USRP N3xx and X3xx series radio devices has moved from Communications Toolbox™ Support Package for USRP Radio to Wireless Testbench™ Support Package for NI USRP Radios.
See Also
Blocks
Functions
Objects
Topics
MATLAB 命令
您点击的链接对应于以下 MATLAB 命令:
请在 MATLAB 命令行窗口中直接输入以执行命令。Web 浏览器不支持 MATLAB 命令。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)