Main Content

info

USRP radio information

Description

example

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

Examples

collapse all

Create an SDRu receiver System object for a multichannel radio configuration.

radio = comm.SDRuReceiver(Platform ="X300",IPAddress ='192.168.60.2');
radio.ChannelMapping = [1 2];
radio.CenterFrequency = [1.2 1.3]*1e9;
radio.Gain = [5 6];

Get the radio information by calling the info function.

info(radio)
ans = struct with fields:
                    Mboard: 'X300'
                  RXSubdev: {'UBX RX'  'UBX RX'}
                  TXSubdev: {'UBX TX'  'UBX TX'}
    MinimumCenterFrequency: [-70000000 -70000000]
    MaximumCenterFrequency: [6.0800e+09 6.0800e+09]
               MinimumGain: [0 0]
               MaximumGain: [37.5000 37.5000]
                  GainStep: [0.5000 0.5000]
           CenterFrequency: [1.2000e+09 1.3000e+09]
     LocalOscillatorOffset: 0
                      Gain: [5 6]
           MasterClockRate: 200000000
          DecimationFactor: 512
        BasebandSampleRate: 390625

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 between the System object and the associated USRP radio hardware, returned as a structure array.

The information returned varies depending on the type of the USRP device.

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

Tips

  • The actual radio computed value can differ from the setting you specify. To confirm that the actual radio computed value is close enough to your specified setting, use the info function.

Version History

Introduced in R2011b

expand all