Connect two or more USRPs
10 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (3)
CHAOZHENG XUE
il 20 Mag 2020
Hi, did you find the solution, I also have this problem, C + + environment should be installed?
Karunya Choppara
il 14 Apr 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 Commenti
Karunya Choppara
il 7 Giu 2022
Can you let me know the error you are seeing, with burst mode in 22a.
Vedere anche
Categorie
Scopri di più su Communications Toolbox in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!