Hi Marcus,
The device arguments are as following:
Executing: /usr/bin/python3.6 -u /home/niels/top_block.py
[INFO] [UHD] linux; GNU C++ version 7.5.0; Boost_106501; UHD_3.15.0.0-62-g7a3f1516
[INFO] [MPMD] Initializing 1 device(s) in parallel with args: mgmt_addr=192.168.1.5,type=n3xx,product=n300,serial=320C34D,claimed=False,addr=192.168.10.2,master_clock_rate=125.0e6
Traceback (most recent call last):
File "/home/niels/top_block.py", line 189, in <module>
main()
File "/home/niels/top_block.py", line 165, in main
tb = top_block_cls()
File "/home/niels/top_block.py", line 84, in __init__
channels=list(range(0,1)),
File "/home/niels/prefix-3.8/lib/python3/dist-packages/gnuradio/uhd/__init__.py", line 125, in constructor_interceptor
return old_constructor(*args)
File "/home/niels/prefix-3.8/lib/python3/dist-packages/gnuradio/uhd/uhd_swig.py", line 3298, in make
return _uhd_swig.usrp_source_make(device_addr, stream_args, issue_stream_cmd_on_start)
RuntimeError: rpc::timeout: Timeout of 2000ms while calling RPC function 'get_num_xbars'
>>> Done (return code 1)
[INFO] [UHD] linux; GNU C++ version 7.5.0; Boost_106501; UHD_3.15.0.0-62-g7a3f1516
[INFO] [MPMD] Initializing 1 device(s) in parallel with args: mgmt_addr=192.168.1.5,type=n3xx,product=n300,serial=320C34D,claimed=False,addr=192.168.10.2,master_clock_rate=125.0e6
Traceback (most recent call last):
File "/home/niels/top_block.py", line 189, in <module>
main()
File "/home/niels/top_block.py", line 165, in main
tb = top_block_cls()
File "/home/niels/top_block.py", line 84, in __init__
channels=list(range(0,1)),
File "/home/niels/prefix-3.8/lib/python3/dist-packages/gnuradio/uhd/__init__.py", line 125, in constructor_interceptor
return old_constructor(*args)
File "/home/niels/prefix-3.8/lib/python3/dist-packages/gnuradio/uhd/uhd_swig.py", line 3298, in make
return _uhd_swig.usrp_source_make(device_addr, stream_args, issue_stream_cmd_on_start)
RuntimeError: rpc::timeout: Timeout of 2000ms while calling RPC function 'get_num_xbars'
>>> Done (return code 1)
Note that I found out that GNU Radio executed UHD_3.15.0.0 instead of UHD_4.0.0.0.
I did update GNU radio, maybe the UHD of GNU radio is out of date?
On Tue, 29 Jun 2021 at 16:01, Marcus D Leech <patchvonbraun@gmail.com> wrote:
What was the exact device argument you used in the GR case?Sent from my iPhoneOn Jun 29, 2021, at 9:36 AM, Niels van Etten <niels@hiber.global> wrote:Dear all,I'm trying to run the Ettus N300 on GNU radio.
[INFO] [UHD] linux; GNU C++ version 7.5.0; Boost_106501; UHD_3.15.0.0-62-g7a3f1516
When I'm running GNU radio via:pybombs run gnuradio-companion
, I get the following error when trying to run the USRP Source block:
[INFO] [MPMD] Initializing 1 device(s) in parallel with args: mgmt_addr=192.168.10.2,type=n3xx,product=n300,serial=320C34D,claimed=False,addr=192.168.10.2
Traceback (most recent call last):
File "/home/niels/top_block.py", line 187, in <module>
main()
File "/home/niels/top_block.py", line 163, in main
tb = top_block_cls()
File "/home/niels/top_block.py", line 84, in __init__
channels=list(range(0,1)),
File "/home/niels/prefix-3.8/lib/python3/dist-packages/gnuradio/uhd/__init__.py", line 125, in constructor_interceptor
return old_constructor(*args)
File "/home/niels/prefix-3.8/lib/python3/dist-packages/gnuradio/uhd/uhd_swig.py", line 3298, in make
return _uhd_swig.usrp_source_make(device_addr, stream_args, issue_stream_cmd_on_start)
RuntimeError: rpc::timeout: Timeout of 2000ms while calling RPC function 'get_num_xbars'Note that
uhd_usrp_probe
works without warnings and also the UHD example:
/usr/local/lib/uhd/examples/rx_ascii_art_dft --args "master_clock_rate=125e6,mgmt_addr=192.168.1.151,addr=192.168.10.2" --freq 98.5e6 --rate 2.5e6 --gain 50 --ref-lvl="-50" --dyn-rng 90 --ant "RX2" --subdev "A:0"
, runs like a charm.Anyone knows how to fix this?
Thanks in advance
--
Niels van Etten
--
Niels van Etten |
+31 6 11731360| niels@hiber.global| ![]() |
![]() |
Please note that we've moved to a new office. |
Moermanskkade 600, 1013 BC Amsterdam, The Netherlands | +31 20 244 0420| hiber.global |
No comments:
Post a Comment