Communicate with USRP rio x310 (USRP2954R) via its SerialNum

조회 수: 66 (최근 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 CenterFile Exchange에서 Communications Toolbox에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by