Main Content

info

Current USRP radio settings

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

Description

radioSettings = info(radio) returns a structure array containing the current radio settings for the USRP™ radio hardware associated with the SDRu System object™ radio.

example

Examples

collapse all

Use the info object function to get information from a connected B210 radio. The function shows the actual values for the radio. These values can vary slightly from the values specified in the object.

radio = comm.SDRuTransmitter(Platform ="B210",SerialNum ="31B92DD");
radio.CenterFrequency = 912.3456e6;
radio.LocalOscillatorOffset = 1000;
radio.Gain = 8.3;
radio.MasterClockRate = 10.56789e6;
radio.InterpolationFactor = 510;
info(radio)                   
ans = struct with fields:
                    Mboard: 'B210'
                  RXSubdev: 'FE-RX2'
                  TXSubdev: 'FE-TX2'
    MinimumCenterFrequency: 4.4716e+07
    MaximumCenterFrequency: 6.0053e+09
               MinimumGain: 0
               MaximumGain: 89.7500
                  GainStep: 0.2500
           CenterFrequency: 9.1235e+08
     LocalOscillatorOffset: -999.7189
                      Gain: 8.2500
           MasterClockRate: 1.0568e+07
       InterpolationFactor: 512
        BasebandSampleRate: 2.0640e+04

Input Arguments

collapse all

USRP radio, specified as a comm.SDRuTransmitter or comm.SDRuReceiver System object. This radio must be connected to the host computer.

Output Arguments

collapse all

Synchronized radio settings information, returned as a structure array. These are the actual settings applied to the USRP radio hardware by the associated System object radio. The information returned varies depending on the USRP radio.

If no information is found or the System object is not associated with a USRP radio attached to the host, info returns an empty structure.

Tips

The actual settings applied to the radio can differ from the properties you set on the System object. Use the info function to verify that the applied settings meet your requirements.

Version History

Introduced in R2011b

expand all

See Also

Functions

  • (Wireless Testbench)

Objects