adi.Pluto.Tx

The adi.Pluto.Tx System object is a signal sink that can
transmit complex data from the Pluto.

tx = adi.Pluto.Tx;
tx = adi.Pluto.Tx('uri','ip:192.168.2.1');

Product Page

Creation

The class can be instantiated in the following way with and without property name value pairs.

dev = adi.Pluto.Tx
dev = adi.Pluto.Tx(Name, Value)
Properties
Unless otherwise indicated, properties are non-tunable, which means you cannot change their values after calling the object. Objects lock when you call them, and the release function unlocks them.

If a property is tunable, you can change its value at any time.

For more information on changing property values, see System Design in MATLAB Using System Objects.
Example Usage
%% Configure device
tx = adi.adi.Pluto.Tx;
tx.uri = "ip:analog.local";
tx.CenterFrequency = 1e9;
tx.DataSource = 'DMA';
tx.EnableCyclicBuffers = true;
tx.EnabledChannels = 1;
%% Generate tone
amplitude = 2^15; frequency = 0.12e6;
swv1 = dsp.SineWave(amplitude, frequency);
swv1.ComplexOutput = true;
swv1.SamplesPerFrame = 2^14;
swv1.SampleRate = tx.SamplingRate;
y = swv1();
% Send
tx(y);