I am getting the error message "Device discovery error: input stream error"

20 ビュー (過去 30 日間)
Kim jin hak
Kim jin hak 2016 年 6 月 1 日
回答済み: Nik Rocky 2023 年 6 月 20 日
I'm using N1 210 rev 4 usrp radio and I want to use it in Matlab environment.
My problem is the following. If I type "findsdru" in Matlab command line, then I get the following result.
---------- begin libuhd error message output ----------
Device discovery error: input stream error
---------- end libuhd error message output ----------
ans =
Platform: 'N200/N210/USRP2'
IPAddress: '192.168.10.2'
SerialNum: 'E7R26M7UP'
Status: 'Success'
It seems the Matlab finds the usrp device well, but I couldn't figure out why the error message "Device discovery error: input stream error" occurs.
How can I fix this?
  1 件のコメント
Pavel Dey
Pavel Dey 2016 年 6 月 8 日
The error message is generated from UHD, the hardware driver of USRP device. Although I have not seen this file exactly before, but there are some similar issues, which may occur due to different reasons like graphics driver issues, some unexpected change with default sampling rate etc.
In order to get more details on that, kindly contact the technical support in your region.

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

回答 (3 件)

Sanat Varasada
Sanat Varasada 2017 年 2 月 7 日
Hi,
I had the same problem with my USRP hardware. To fix this UHD error, just update your UHD driver for the USRP hardware. Here I attached the driver link: http://files.ettus.com/binaries/uhd/latest_release/
Steps: - Download the driver from above link for your win 32/64 bit. But, download the latest release VS2015 for your OS. - Open MATLAB and Connect your USRP hardware with PC. - Now install the UHD driver - After installation, close your matlab and remove USRP device. - Now, open matlab and connect USRP device with PC - Finally, run the findsdru in command window and there won't be the error message anymore.
Thanks
  2 件のコメント
STEVE BRAUNIG
STEVE BRAUNIG 2017 年 4 月 14 日
Hi, I have the same problem with input stream error. I've followed your steps exactly but no luck in resolving the issue. Any other suggestions?
Luciano Stancato
Luciano Stancato 2017 年 5 月 15 日
Hi all, I also have the same problem, I get an input stream error when try findsdru command, this happen with matlab2016. Any idea how to solve it?.

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


Paula Reis
Paula Reis 2021 年 4 月 8 日
編集済み: Paula Reis 2021 年 4 月 8 日
I am getting the same issue with my matlab R2021a version and usrp x310 with ubx 160 daughterboards and uhd version Matlab is 3.15.0.0 vendor. How can I fix this?
radio = findsdru
Checking radio connections...
linux; GNU C++ version 8.3.0; Boost_107200; UHD_3.15.0.0-vendor
---------- see libuhd version information above this line ----------
---------- begin libuhd error output ----------
Device discovery error: resolve: Host not found (non-authoritative), try again later
---------- end libuhd error output ----------
---------- begin libuhd error output ----------
Device discovery error: resolve: Host not found (non-authoritative), try again later
---------- end libuhd error output ----------
radio =
struct with fields:
Platform: 'X310'
IPAddress: '192.168.10.2'
SerialNum: '31F3C51'
Status: 'Success'
  1 件のコメント
Karunya Choppara
Karunya Choppara 2021 年 7 月 1 日
This specific issue in MATLAB R2021a that shows "Device discovery error: resolve: Host not found (non-authoritative), try again later " is not a stoppage issue, you should be able to perform the transmit and receiver operations successfully.

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


Nik Rocky
Nik Rocky 2023 年 6 月 20 日
The errors:
[ERROR] [UHD] Device discovery error: receive_from: An existing connection was forcibly closed by the remote host [system:10054]
and/or
[ERROR] [X300] X300 Network discovery error receive_from: An existing connection was forcibly closed by the remote host [system:10054]
happens, when VPN connection exists. Just try to turn off VPN and run findsdru in MATLAB or start uhd_usrp_probe via PowerShell/Terminal. Problem should be done.

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by