USRP B210 transmission not allowed, libhud socket error
5 views (last 30 days)
Show older comments
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 Comment
Saurabh
on 22 Oct 2024
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.
Answers (1)
Supraja
on 7 Nov 2024
Hello Joaquin,
To troubleshoot the issue, follow the steps mentioned below:
- 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.
- UHD and Firmware Compatibility: Make sure you have the latest UHD (USRP Hardware Driver) version installed. Sometimes, updating the UHD can resolve communication issues.
- 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!
0 Comments
See Also
Categories
Find more on Communications Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!