(To be removed) Send data to USRP® E310 or USRP® E312 radio hardware
The comm.SDRTxE310
System
object™ will be removed in a future release. Use the comm.SDRTxE3xx
System
object instead. For more information, see Compatibility Considerations.
The comm.SDRTxE310
System
object sends data to
USRP®[1]
E310 or USRP® E312 radio hardware. This connection enables you to simulate and develop various software-defined
radio applications.
The following diagram shows the conceptual overview of transmitting and receiving radio
signals with this support package. MATLAB® interacts with the comm.SDRTxE310
System
object to send signals to the radio hardware.
To send data to the radio hardware:
Create the comm.SDRTxE310
object and set its properties.
Call the object with arguments, as if it were a function.
To learn more about how System objects work, see What Are System Objects? (MATLAB).
The comm.SDRTxE310
transmitter System
object supports up to two channels to send data to the
USRP® E310 or USRP® E312 radio hardware. Use the ChannelMapping
property to indicate whether to
use a single channel or both channels. The object receives a matrix signal, where each
column corresponds to one fixed-length channel of data. For each channel, you can set the
Gain
property independently, or you can apply the same setting to
both channels. All other property values are applied to both channels.
creates a transmitter System
object with default properties that you can use to send data to the
USRP® E310 or USRP® E312 radio hardware.tx
= sdrtx('E310'
)
creates the object with properties set by using one or more name-value pair arguments. The
property name must be placed inside single quotes (' '), followed by the specified value.
Unspecified properties take default values.tx
= sdrtx('E310'
,Name,Value
)
For example:
tx = sdrtx('E310', ... 'IPAddress','192.168.30.2', ... 'CenterFrequency',2.4e9, ... 'BasebandSampleRate',1e6, ... 'ChannelMapping',1);
tx(
sends a signal to the radio
hardware associated with the specified signalIn
)tx
transmitter System
object.
To use an object function, specify the
System
object as the first input argument. For
example, to release system resources of a System
object named obj
, use
this syntax:
release(obj)
[1] USRP, USRP2, UHD, and Ettus Research are trademarks of National Instruments Corp.