This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

sdrtx

Create transmitter System object for USRP® embedded series radio hardware

Syntax

tx = sdrtx(DeviceName)
tx = sdrtx(DeviceName,Name,Value)

Description

example

tx = sdrtx(DeviceName) creates a transmitter System object™ with default properties that transmits data to the USRP®[1] embedded series radio hardware specified by DeviceName. The object transmits data over a gigabit Ethernet network connection.

When you call the transmitter System object, the object connects to the radio hardware. The object stays connected until you call the release function. For more information on how to use the object, see the documentation of the corresponding System object.

tx = sdrtx(DeviceName,Name,Value) specifies additional properties using one or more name-value pair arguments. Unspecified properties take default values.

Examples

Create Transmitter System Object for USRP® E310 or USRP® E312

tx = sdrtx('E310')
tx = 

  comm.SDRTxE310 with properties:

   Main
            DeviceName: 'E310'
             IPAddress: '192.168.3.2'
       CenterFrequency: 2.4000e+09
                  Gain: -10
        ChannelMapping: 1
    BasebandSampleRate: 3840000
       EnableBurstMode: false

You can use tx to transmit data to either USRP® E310 or USRP® E312 radio hardware.

Input Arguments

collapse all

Name of USRP® embedded series radio hardware, specified as a character vector. Currently, 'E310' is the only accepted value that you can use for both USRP® E310 and USRP® E312 radio hardware.

Name-Value Pair Arguments

Specify optional comma-separated pairs of Name,Value arguments. Name is the argument name and Value is the corresponding value. Name must appear inside quotes. You can specify several name and value pair arguments in any order as Name1,Value1,...,NameN,ValueN.

Example: 'CenterFrequency',2.5e9

For a full list of property names and values, see the reference page for the corresponding transmitter System object. For example, for a USRP® E310 device, see comm.SDRTxE310.

Output Arguments

collapse all

Transmitter for the specified radio hardware, returned as a USRP® embedded series radio System object. For more information on how to use the object, see the documentation of the corresponding System object: comm.SDRTxE310.

See Also

Functions

System Objects

Introduced in R2016b


[1] USRP, USRP2, UHD, and Ettus Research are trademarks of National Instruments Corp.