Main Content

info

Synchronize receiver or transmitter radio settings with radio hardware

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

Description

info(x) returns synchronized radio settings information between the receiver or transmitter System object™ specified by x and the associated radio hardware. If x has no radio settings information, or if the System object is not associated with a radio hardware attached to the host, the function returns no information.

example

radioSettings = info(x) returns the information in the structure array radioSettings.

Examples

collapse all

Make sure your radio hardware is configured for host-radio communication by following the steps in Guided Host-Radio Hardware Setup.

Create a receiver System object for your radio hardware with specific properties. For example:

rx = sdrrx('E3xx', ...
    'IPAddress','192.168.3.2', ...
    'CenterFrequency',2.2e9, ...
    'BasebandSampleRate',800e3, ...    
    'ChannelMapping',1)
rx = 
  comm.SDRRxE3xx with properties:

   Main
                DeviceName: 'E3xx'
                 IPAddress: '192.168.3.2'
           CenterFrequency: 2.2000e+09
                GainSource: 'AGC Slow Attack'
            ChannelMapping: 1
        BasebandSampleRate: 800000
            OutputDataType: 'int16'
           SamplesPerFrame: 20000
           EnableBurstMode: false
    ShowAdvancedProperties: false

  Show all properties

Synchronize radio settings information between the receiver System object and the associated radio hardware.

radioSettings = info(rx)
## Establishing connection to hardware. This process can take several seconds.
radioSettings = struct with fields:
                Status: 'Full information'
       CenterFrequency: 2.2000e+09
    BasebandSampleRate: 800000
     DeviceVersionInfo: [1×1 struct]
            GainSource: 'AGC Slow Attack'

Make sure your radio hardware is configured for host-radio communication by following the steps in Guided Host-Radio Hardware Setup.

Create a transmitter System object for your radio hardware with specific properties. For example:

tx = sdrtx('E3xx', ...
    'IPAddress','192.168.3.2', ...
    'CenterFrequency',2.2e9, ...
    'BasebandSampleRate',800e3, ...
    'ChannelMapping',1)
tx = 
  comm.SDRTxE3xx with properties:

   Main
                DeviceName: 'E3xx'
                 IPAddress: '192.168.3.2'
           CenterFrequency: 2.2000e+09
                      Gain: -10
            ChannelMapping: 1
        BasebandSampleRate: 800000
    ShowAdvancedProperties: false

  Show all properties

Synchronize radio settings information between the transmitter System object and the associated radio hardware.

radioSettings = info(tx)
## Establishing connection to hardware. This process can take several seconds.
radioSettings = struct with fields:
                Status: 'Full information'
       CenterFrequency: 2.2000e+09
    BasebandSampleRate: 800000
                  Gain: -10

Input Arguments

collapse all

Receiver or transmitter, specified as a System object.

Output Arguments

collapse all

Synchronized radio settings information between the System object and the associated radio hardware, returned as a structure array.

Version History

Introduced in R2016b

See Also

Objects

Functions