Azzera filtri
Azzera filtri

how to use MATLAB to configure the USRP 2943R with a PCIe cabl

28 visualizzazioni (ultimi 30 giorni)
Hi,
I connected USRP 2943R to PC using a PCIe cable. Can I use MATLAB to configure the USRP 2943R with a PCIe cable?
Best regards,
Zohreh

Risposte (2)

Francisco Salomon
Francisco Salomon il 24 Gen 2024
Hi Zohreh,
PCIe is not supported at the moment on MATLAB Support Package for USRP (Communications System Toolbox) or Support Package for NI USRP Radios (Wireless Testbench).
You will need to use a network interface. Please refer to the relevant product's documentation for your MATLAB version.
Thanks,
Francisco

Basmah Ahmad
Basmah Ahmad il 8 Gen 2024
Yes, you can use MATLAB to configure and control a USRP 2943R connected to your PC via a PCIe cable. MATLAB provides support for USRP devices through the Communications System Toolbox and the corresponding support package for USRP. Here is the general step to get started:
Install MATLAB Support Package for USRP:Make sure you have the Communications System Toolbox installed, and then install the MATLAB Support Package for USRP. You can do this using the MATLAB Add-Ons Explorer or by using the following command in the MATLAB command window:
matlab.addons.installedAddons('usrp')
  4 Commenti
Zohreh
Zohreh il 9 Gen 2024
Thank you Basmah. There is still the issue.
For the following code:
tx = comm.SDRuTransmitter('Platform', 'X310', 'SerialNum', '315CB96', 'MasterClockRate', 184.32e6);
This warning showed up
Warning: The SerialNum property is not relevant in this configuration of the
System object.
Finally, for this line of your code:
step(tx, data);
The following error is appeared
Error using comm.SDRuTransmitter/setupImplLocal
Radio with IP address '192.168.10.2' is not of the specified platform 'X310'.
Error in comm.internal.SDRuBase/setupImpl
Mir
Mir il 23 Gen 2024
I am getting the same error. The reason for this is the IP Address which is a default property of the comm.SDRuTransmitter system object with default IP address of 192.168.10.2. You may try with higher version of MATLAB i.e 2022b where you have a support for Wireless Testbench and Support Package for NI USRP Radios. You can configure your NI USRP with these support packages. Currently, I am limited by the Windows 7 on my NI PXIe controller.
HTH,
Mir Lodro

Accedi per commentare.

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!

Translated by