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 CenterFile Exchange에서 Communications Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by