adi.AD9081.Rx

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

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

AD9081 Datasheet

Creation

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

dev = adi.AD9081.Rx
dev = adi.AD9081.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.

Frequency of NCO in fine decimators in receive path. Property must be a [1,N] vector where each value is the frequency of an NCO in hertz, and N is the number of channels available.

Frequency of NCO in fine decimators in receive path. Property must be a [1,N] vector where each value is the frequency of an NCO in hertz, and N is the number of channels available.

Frequency of NCO in fine decimators in receive path. Property must be a [1,N] vector where each value is the frequency of an NCO in hertz, and N is the number of channels available.

Frequency of NCO in fine decimators in receive path. Property must be a [1,N] vector where each value is the frequency of an NCO in hertz, and N is the number of channels available.

Test mode of receive path. Options are: ‘off’ ‘midscale_short’ ‘pos_fullscale’ ‘neg_fullscale’ ‘checkerboard’ ‘pn9’ ‘pn32’ ‘one_zero_toggle’ ‘user’ ‘pn7’ ‘pn15’ ‘pn31’ ‘ramp’

JESD204 FSM CTRL. Options are: ‘0’ ‘1’ When set to ‘0’ the JESD links will be disabled. This property should be toggled to reset the JESD204 links

Enable use of PFIR/PFILT filters

Path(s) to FPIR/PFILT filter file(s). Input can be a string or cell array of strings. Files are loading in order

Baseband sampling rate in Hz, specified as a scalar in samples per second. This value is only readable once connected to hardwareHelp for adi.AD9081.Rx/SamplingRate is inherited from superclass adi.AD9081.Base

Number of samples per frame, specified as an even positive integer from 2 to 16,777,216. Using values less than 3660 can yield poor performance.Help for adi.AD9081.Rx/SamplesPerFrame is inherited from superclass adi.AD9081.Base

Indexs of channels to be enabled. Input should be a [1xN] vector with the indexes of channels to be enabled. Order is irrelevant

Hostname or IP address of remote libIIO deviceHelp for adi.AD9081.Rx/uri is inherited from superclass matlabshared.libiio.base

Example Usage

%% Rx set up
rx = adi.AD9081.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)