Connect two or more USRPs
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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.
0 commentaires
Réponses (3)
CHAOZHENG XUE
le 20 Mai 2020
Hi, did you find the solution, I also have this problem, C + + environment should be installed?
Karunya Choppara
le 14 Avr 2022
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 commentaires
Karunya Choppara
le 7 Juin 2022
Can you let me know the error you are seeing, with burst mode in 22a.
Voir également
Catégories
En savoir plus sur Communications Toolbox dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!