Connect two or more USRPs

7 次查看(过去 30 天)
Yeong Rok Lee
Yeong Rok Lee 2020-5-7
Hi,
I made a wireles communication environment using multiple USRPs.
However, I have some problems when I try to connect between USRPs and Matlab.
When I use only one USRP, there is no problem.
But I use two or more USRPs, Matlab is stopped with error messages.
Strangely, there were no problems 2 years ago. This problem has only recently occured.
I tried my own code and Matlab example code both, but each of error message is almost same.
The error messages as follows.
>> MultiUserBeamformingExample
Checking radio connections...
Win32; Microsoft Visual C++ version 14.1; Boost_107000; UHD_3.15.0.0-vendor
---------- see libuhd version information above this line ----------
---------- begin libuhd error output ----------
Device discovery error: resolve: 알려진 호스트가 없습니다
---------- end libuhd error output ----------
---------- begin libuhd error output ----------
Exception caught in safe-call.
in __cdecl ctrl_iface_impl<0>::~ctrl_iface_impl(void)
at b:\3p\sources\uhd\lib\rfnoc\ctrl_iface.cpp:52
this->send_cmd_pkt(0, 0, true); -> EnvironmentError: IOError: Block ctrl (CE_00_Port_31) no response packet - AssertionError: buff->size() > 0
in unsigned __int64 __cdecl ctrl_iface_impl<0>::wait_for_ack(const bool,const double)
at b:\3p\sources\uhd\lib\rfnoc\ctrl_iface.cpp:152
---------- end libuhd error output ----------
---------- begin libuhd error output ----------
Exception caught in safe-call.
in __cdecl ctrl_iface_impl<0>::~ctrl_iface_impl(void)
at b:\3p\sources\uhd\lib\rfnoc\ctrl_iface.cpp:52
this->send_cmd_pkt(0, 0, true); -> EnvironmentError: IOError: Block ctrl (CE_00_Port_30) no response packet - AssertionError: buff->size() > 0
in unsigned __int64 __cdecl ctrl_iface_impl<0>::wait_for_ack(const bool,const double)
at b:\3p\sources\uhd\lib\rfnoc\ctrl_iface.cpp:152
---------- end libuhd error output ----------
....
Skip to many similar error messages.
....
---------- begin libuhd error output ----------
Exception caught in safe-call.
in __cdecl ctrl_iface_impl<0>::~ctrl_iface_impl(void)
at b:\3p\sources\uhd\lib\rfnoc\ctrl_iface.cpp:52
this->send_cmd_pkt(0, 0, true); -> EnvironmentError: IOError: Block ctrl (CE_01_Port_40) no response packet - AssertionError: buff->size() > 0
in unsigned __int64 __cdecl ctrl_iface_impl<0>::wait_for_ack(const bool,const double)
at b:\3p\sources\uhd\lib\rfnoc\ctrl_iface.cpp:152
---------- end libuhd error output ----------
---------- begin libuhd error output ----------
Exception caught in safe-call.
in __cdecl ctrl_iface_impl<0>::~ctrl_iface_impl(void)
at b:\3p\sources\uhd\lib\rfnoc\ctrl_iface.cpp:52
this->send_cmd_pkt(0, 0, true); -> EnvironmentError: IOError: Block ctrl (CE_02_Port_50) no response packet - AssertionError: buff->size() > 0
in unsigned __int64 __cdecl ctrl_iface_impl<0>::wait_for_ack(const bool,const double)
at b:\3p\sources\uhd\lib\rfnoc\ctrl_iface.cpp:152
---------- end libuhd error output ----------
다음 사용 중 오류가 발생함: reportSDRuStatus (line 106)
An error occurred: Could not execute UHD driver command in 'createDriver_c': Could not create a UHD driver using IP addr '192.168.11.2,192.168.10.2'.
Attach a device at the specified address, correct the specified address to match an already attached device, or continue to work in off-line mode.
Error from UHD: EnvironmentError: IOError: [0/DUC_0] sr_write() failed: EnvironmentError: IOError: Block ctrl (CE_05_Port_80) no response packet -
AssertionError: buff->size() > 0
in unsigned __int64 __cdecl ctrl_iface_impl<0>::wait_for_ack(const bool,const double)
at b:\3p\sources\uhd\lib\rfnoc\ctrl_iface.cpp:152
I tried to reinstall Matlab and UHD.
Tried version of Matlab are R2018b, R2019a and R2020a.

回答(3 个)

hui zeng
hui zeng 2020-5-7
why?
  2 个评论
CHAOZHENG XUE
CHAOZHENG XUE 2020-5-20
I also meet this problem. Did you find the solution to this problem ?

请先登录,再进行评论。


CHAOZHENG XUE
CHAOZHENG XUE 2020-5-20
Hi, did you find the solution, I also have this problem, C + + environment should be installed?
  1 个评论
Yeong Rok Lee
Yeong Rok Lee 2020-5-21
Hi, I have not found the solution yet. I don't use C++ or any environments.
I tried some computers with different conditions, but each of error message is almost same.

请先登录,再进行评论。


Karunya Choppara
Karunya Choppara 2022-4-14
This issue is with UHD 3.15 and the issue is resolved in the latest version of UHD, which is 4.1.0.4.
MATLAB release R2022a uses UHD version 4.1.0.4, and the issue with bundling multiple radios is resolved
  2 个评论
Ali Sabra
Ali Sabra 2022-6-7
Why matlab 2022a cannot run usrp with burst mode ?
Karunya Choppara
Karunya Choppara 2022-6-7
Can you let me know the error you are seeing, with burst mode in 22a.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Communications Toolbox 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by