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

34 ビュー (過去 30 日間)
Zohreh
Zohreh 2024 年 1 月 8 日
回答済み: Francisco Salomon 2024 年 1 月 24 日
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

回答 (2 件)

Francisco Salomon
Francisco Salomon 2024 年 1 月 24 日
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 2024 年 1 月 8 日
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 件のコメント
Zohreh
Zohreh 2024 年 1 月 9 日
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 2024 年 1 月 23 日
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

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeCommunications Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by