Main Content

info

Synchronize receiver or transmitter radio settings with radio hardware

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('AD936x', ...
    'IPAddress','192.168.3.2', ...
    'CenterFrequency',2.2e9, ...
    'BasebandSampleRate',800e3, ...    
    'ChannelMapping',1)
rx = 
  comm.SDRRxAD936x with properties:

   Main
                DeviceName: 'AD936x'
                 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('AD936x', ...
    'IPAddress','192.168.3.2', ...
    'CenterFrequency',2.2e9, ...
    'BasebandSampleRate',800e3, ...
    'ChannelMapping',1)
tx = 
  comm.SDRTxAD936x with properties:

   Main
                DeviceName: 'AD936x'
                 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.

To create one of these receiver System objects, use the sdrrx function.

To create one of these transmitter System objects, use the sdrtx function.

Output Arguments

collapse all

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

Introduced in R2014b