Communicate with USRP rio x310 (USRP2954R) via its SerialNum

59 ビュー (過去 30 日間)
Hayfa BTH
Hayfa BTH 2019 年 10 月 1 日
回答済み: evelyn 2023 年 11 月 10 日
Hi,
I am trying to communicate with NI-USRP2954R (Rio X310) via matlab, using its serial number as the USRP is connected to the host PC via a PCI Express cable.
However, I have got this warning/error.
I have used the same program to communicate with NI-USRP2901 (via USB cable) and it works well. Why it does not work with usrp Rio x310.
Warning: The SerialNum property is not relevant in this configuration of the System object.
> In matlab.system.SystemProp/setProperties
In comm.internal.SDRuBase
In comm.SDRuTransmitter
Warning: The SerialNum property is not relevant in this configuration of the System object.
> In matlab.system.SystemProp/setProperties
In comm.internal.SDRuBase
In comm.SDRuReceiver
Error using comm.SDRuTransmitter/setupImplLocal
An error occurred: Unable to find radio with IP address 192.168.10.2.
Attach a device with this IP address, or continue working in offline mode.
Error in comm.internal.SDRuBase/setupImpl
  2 件のコメント
Jose Antonio Campoy
Jose Antonio Campoy 2019 年 10 月 9 日
I´m already having the same problem, did you solve it?
Hayfa BTH
Hayfa BTH 2019 年 10 月 9 日
Please take a look to my answer.

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

採用された回答

Hayfa BTH
Hayfa BTH 2019 年 10 月 9 日
Hi,
I have contacted MathWork support and here is their reply:
MATLAB supports only the Ettus based radios. However by updating the firmware on the NI radio to Ettus UHD firmware, the radio behaves as an equivalent Ettus based radio and the radio can be discovered from MATLAB.
NI-USRP 2901 is an equivalent to Ettus radio B210. So, the SerialNum property can be used to access the B210 radio.
NI USRP2954R is equivalent to Ettus radio X310. And the IP Address property should be used to access the X310 radio.
I would suggest the following work around to use the NI USRP 2954:
You could try interfacing the NI USRP 2954 through Ethernet cable and run the 'Hardware Setup' to load the firmware onto the radio. To run the setup, select 'Add-ons'-->'Manage Add-ons'-->'Communications Toolbox support package for USRP radio'-->'Setup'
--------------------------------------------------------------------------
My comments regarding this issue:
Using ethernet connection, the NI-USRP X310 is successfully detected by MATLAB. You have to pay attention to the installed UHD driver version (on your host PC) and the one supported by the "Communication Toolbox Support Package for USRP Radio". In fact, the implemented firmware version on your X310 depends on the installed UHD version. Thus, I suggest that user must check UHD version installed on your host PC and the one supported by MATLAB.
Try to run "findsdru" command line on MATLAB, and if there is a problem regarding UHD version, MATLAB would alert you.
  3 件のコメント
hang tan
hang tan 2019 年 12 月 26 日
I have the same question
hang tan
hang tan 2019 年 12 月 30 日
Hi,
I have find a way to update the firmware on the NI radio to Ettus UHD firmware from
1、Download the current UHD images. You can use the uhd_images_downloader script provided with UHD
2、Use the uhd_image_loader utility to update the FPGA image. On the command line, run:
uhd_image_loader --args="type=x300,addr=192.168.10.2,fpga=HG"
If you have installed the images to a non-standard location, you might need to run (change the filename according to your device):
uhd_image_loader --args="type=x300,addr=192.168.10.2" --fpga-path="<path_to_images>/usrp_x310_fpga_HG.bit"

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

その他の回答 (1 件)

evelyn
evelyn 2023 年 11 月 10 日
Anyone encounter the above problem?
When I input 'findsdru' still works not well. matlab and uhd are both 64 bit. Why it said not a valid win 32 application in the command?

カテゴリ

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

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by