Set Rx bandwidth on and off for USRP X310
7 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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)
0 Commenti
Risposte (1)
Nithin Kumar
il 5 Set 2023
Modificato: Nithin Kumar
il 5 Set 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.
0 Commenti
Vedere anche
Categorie
Scopri di più su Communications Toolbox in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!