adi.FMComms3.Rx#
receive complex data from the FMComms2.
rx = adi.FMComms3.Rx;
rx = adi.FMComms3.Rx('uri','ip:192.168.2.1');
Product Page
The class can be instantiated in the following way with and without property name value pairs.
dev = adi.FMComms3.Rx
dev = adi.FMComms3.Rx(Name, Value)
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.
CenterFrequency
RF center frequency, specified in Hz as a scalar. The default is 2.4e9. This property is tunable.Help for adi.FMComms3.Rx/CenterFrequency is inherited from superclass ADI.AD9361.RX
SamplingRate
Baseband sampling rate in Hz, specified as a scalar from 65105 to 61.44e6 samples per second.Help for adi.FMComms3.Rx/SamplingRate is inherited from superclass ADI.AD9361.RX
RFBandwidth
RF Bandwidth of front-end analog filter in Hz, specified as a scalar from 200 kHz to 56 MHz.Help for adi.FMComms3.Rx/RFBandwidth is inherited from superclass ADI.AD9361.RX
GainControlModeChannel0
specified as one of the following: ‘slow_attack’ — For signals with slowly changing power levels ‘fast_attack’ — For signals with rapidly changing power levels ‘manual’ — For setting the gain manually with the Gain property ‘hybrid’ — For configuring hybrid AGC modeHelp for adi.FMComms3.Rx/GainControlModeChannel0 is inherited from superclass ADI.AD9361.RX
GainChannel0
Channel 0 gain, specified as a scalar from -3 dB to 71 dB. The acceptable minimum and maximum gain setting depends on the center frequency.Help for adi.FMComms3.Rx/GainChannel0 is inherited from superclass ADI.AD9361.RX
GainControlModeChannel1
specified as one of the following: ‘slow_attack’ — For signals with slowly changing power levels ‘fast_attack’ — For signals with rapidly changing power levels ‘manual’ — For setting the gain manually with the Gain property ‘hybrid’ — For configuring hybrid AGC modeHelp for adi.FMComms3.Rx/GainControlModeChannel1 is inherited from superclass ADI.AD9361.RX
GainChannel1
Channel 1 gain, specified as a scalar from -3 dB to 71 dB. The acceptable minimum and maximum gain setting depends on the center frequency.Help for adi.FMComms3.Rx/GainChannel1 is inherited from superclass ADI.AD9361.RX
LoopbackMode
Option to set digital loopback mode, specified as 0, 1 or 2. Allows either to digitally loopback TX data into the RX path or vice versa. Value | Mode ————————— 0 | Disable 1 | Digital TX -> Digital RX 2 | RF RX -> RF TX Help for adi.FMComms3.Rx/LoopbackMode is inherited from superclass ADI.AD9361.RX
EnableQuadratureTracking
Option to enable quadrature tracking, specified as true or false. When this property is true, IQ imbalance compensation is applied to the input signal.Help for adi.FMComms3.Rx/EnableQuadratureTracking is inherited from superclass ADI.AD9361.RX
EnableRFDCTracking
Option to enable RF DC tracking, specified as true or false. When this property is true, an RF DC blocking filter is applied to the input signal.Help for adi.FMComms3.Rx/EnableRFDCTracking is inherited from superclass ADI.AD9361.RX
EnableBasebandDCTracking
Option to enable baseband DC tracking, specified as true or false. When this property is true, a baseband DC blocking filter is applied to the input signal.Help for adi.FMComms3.Rx/EnableBasebandDCTracking is inherited from superclass ADI.AD9361.RX
RFPortSelect
‘A_BALANCED’ ‘B_BALANCED’ ‘C_BALANCED’ ‘A_N’ ‘A_P’ ‘B_N’ ‘B_P’ ‘C_N’ ‘C_P’ ‘TX_MONITOR1’ ‘TX_MONITOR2’ ‘TX_MONITOR1_2’Help for adi.FMComms3.Rx/RFPortSelect is inherited from superclass ADI.AD9361.RX
SamplesPerFrame
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.
EnableCustomFilter
Enable use of custom filter file to set SamplingRate, RFBandwidth, and FIR in datapaths
CustomFilterFileName
Path to custom filter file created from filter wizard
EnabledChannels
Indexs of channels to be enabled. Input should be a [1xN] vector with the indexes of channels to be enabled. Order is irrelevant
uri
Hostname or IP address of remote libIIO deviceHelp for adi.FMComms3.Rx/uri is inherited from superclass MATLABSHARED.LIBIIO.BASE
enIO
If true, connects to libIIO device during simulationHelp for adi.FMComms3.Rx/enIO is inherited from superclass MATLABSHARED.LIBIIO.BASE
%% Rx set up
rx = adi.FMComms3.Rx('uri','ip:analog.local');
rx.CenterFrequency = 1e9;
rx.EnabledChannels = 1;
%% Run
for k=1:10
valid = false;
while ~valid
[out, valid] = rx();
end
end