USRP B210 transmission not allowed, libhud socket error

22 次查看(过去 30 天)
Hi, I am currently trying to run the QPSKTransmitterwithUSRPHardware.mlx using an B210 USRP SDR device. However, at the moment of intializing, the following error appears on the command window:
---------- begin libuhd error output ----------
Device discovery error: send_to: An attempt was made to perform a socket operation on an unreachable network. [system:10051]
---------- end libuhd error output ----------
I have followed the installation guides to support the usage of USRP in matlab but I can't find the solution to this particular problem.
Thank you very much in advance.
  1 个评论
Saurabh
Saurabh 2024-10-22,11:34
I am assuming that you are using the 'findsdru' regarding discovery of radios. The function 'findsdru' throws these errors when the virtual private network (VPN) is ON. Possible Solution is to switch off the VPN and run the 'findsdru' function again.
The same information can be found here:
And if possible, could you share the MATLAB version you are currently using to narrow down the search for the issue?
I hope this was helpful.

请先登录,再进行评论。

回答(1 个)

Supraja
Supraja 2024-11-7,8:30
Hello Joaquin,
To troubleshoot the issue, follow the steps mentioned below:
  1. Check Network Configuration: Ensure that your USRP B210 is connected to the computer via a USB 3.0 port. The B210 does not use Ethernet for communication, so make sure you are not trying to configure it as a network device.
  2. UHD and Firmware Compatibility: Make sure you have the latest UHD (USRP Hardware Driver) version installed. Sometimes, updating the UHD can resolve communication issues.
  3. MATLAB Configuration: Ensure that MATLAB is configured to use the correct UHD version. You can set this in the MATLAB environment using the sdrdev function.
See the documentation link below for more information on the function 'comm.SDRuTransmitter': https://in.mathworks.com/help/comm/usrpradio/ug/comm.sdrutransmitter-system-object.html
I hope this helps!

类别

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