adi.DAQ2.Rx

The adi.DAQ2.Rx System object is a signal source that can
receive complex data from the DAQ2.

rx = adi.DAQ2.Rx;
rx = adi.DAQ2.Rx('uri','ip:192.168.2.1');

User Guide

Creation

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

dev = adi.DAQ2.Rx
dev = adi.DAQ2.Rx(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
%% Rx set up
rx = adi.DAQ2.Rx('uri','ip:analog.local');
rx.SamplesPerFrame = 2^14;
rx.EnabledChannels = 1;

%% Run
for k=1:10
    valid = false;
    while ~valid
        [out, valid] = rx();
    end
end

%% Cleanup
release(rx)