Set Rx bandwidth on and off for USRP X310

9 visualizaciones (últimos 30 días)
Benedict Isaac
Benedict Isaac el 4 de Dic. de 2022
Editada: Nithin Kumar el 5 de Sept. de 2023
How do I set the filter bandwidth on and off for USRP X310?
I am trying to implement somehting like this from uhd in MATLAB for a receive application
uhd::usrp::multi_usrp::set_rx_bandwidth (double bandwidth, size_t chan =0)

Respuestas (1)

Nithin Kumar
Nithin Kumar el 5 de Sept. de 2023
Editada: Nithin Kumar el 5 de Sept. de 2023
Hi Benedict,
To set the filter bandwidth for a USRP X310, kindly use the “rxbandwidth” property of the “comm.SDRuReceiver” object from the Communications Toolbox of MATLAB as shown below:.
1. Create a “comm.SDRuReceiver” object and set its properties:
% Create an SDRuReceiver object
usrp = comm.SDRuReceiver('Platform', 'X310', 'IPAddress', '192.168.10.1'); % Replace with your device's IP address
% Set the center frequency and gain (if needed)
usrp.CenterFrequency = 900e6; % Set to your desired center frequency in Hz
usrp.Gain = 0; % Set to your desired gain value in dB
2. To set the filter bandwidth, use the "rxbandwidth" property:
% Set the bandwidth in Hz
bandwidth = 1e6;
usrp.RxBandwidth = bandwidth;
3. To turn off the filter bandwidth and use the full bandwidth of the USRP, set it to "Full" or a high value:
% Turn off filtering (use the full bandwidth)
usrp.RxBandwidth = 'Full'; % or set to a high value like 100e6
4. Finally, you can receive data from the USRP using the "usrp" object:
receivedData = usrp();
For more information regarding "comm.SDRuReceiver" object, kindly refer to the following documentation:
I hope this provides you with the required information regarding your query.
Regards,
Nithin Kumar.

Categorías

Más información sobre Communications Toolbox en Help Center y File Exchange.

Productos


Versión

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by