adi.AD9152.Tx
The adi.AD9152.Tx System object is a signal source that can send
complex data from the AD9144.
tx = adi.AD9144.Tx;
tx = adi.AD9144.Tx('uri','ip:ip:192.168.2.1');
AD9144 Datasheet
complex data from the AD9144.
tx = adi.AD9144.Tx;
tx = adi.AD9144.Tx('uri','ip:ip:192.168.2.1');
AD9144 Datasheet
Creation
The class can be instantiated in the following way with and without property name value pairs.
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.
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.AD9152.Tx;
tx.uri = "ip:analog.local";
tx.DataSource = 'DMA';
tx.EnableCyclicBuffers = true;
tx.EnabledChannels = 1;
%% Generate tone
amplitude = 2^15; frequency = 0.12e6;
swv1 = dsp.SineWave(amplitude, frequency);
swv1.SamplesPerFrame = 2^14;
swv1.SampleRate = tx.SamplingRate;
y = swv1();
%% Send
tx(y);