That means that the GR you have was built using the older UHD. 

You’ll very likely need to uninstall GR and do a source based install of GR. 

Sent from my iPhone

> On May 4, 2021, at 10:28 AM, Zeng, Huacheng <huacheng.z...@gmail.com> wrote:
> 
> 
> Hi Marcus, 
> 
> Thank you for your response. The output of GR graph shows "linux; GNU C++ 
> version 7.3.0; Boost_106501; UHD_003.010.003.000-0-unknown." Looks like the 
> GR graph did not use UHD_4.0.0, which I have installed following the 
> instructions on Ettus website. Is there a way to force GR to use a new 
> version of UHD?
> 
> Thanks,
> Hua
> 
> 
> 
>> On Mon, May 3, 2021 at 7:07 PM Marcus D. Leech <patchvonbr...@gmail.com> 
>> wrote:
>> On 05/03/2021 04:31 PM, Zeng, Huacheng wrote:
>> > Hello,
>> >
>> > I was trying to receive the signal from UHD Sink (n310) in GNU Radio 
>> > Companion (GRC) but got the following error message (i.e., GRC cannot 
>> > find N310). I am using Ubuntu 18.04, GNU RADIO 3.9, and UHD 4.0.0. I 
>> > have confirmed that
>> > - My GRC can work with N210.
>> > - I can ping both eth0 and SPF+ ports of N310 from host.
>> > - In terminal "uhd_find_devices" can find N310.
>> > - "uhd_usrp_probe" can also find N310. Output message is attached below.
>> > - I can log in N310 using SSH.
>> > - I have updated N310's FPGA image. The OS in N310 is also UHD 4.0.0 
>> > (the same as the host).
>> >
>> > Any suggestions would be appreciated.
>> > Thanks,
>> > Hua
>> >
>> >
>> > ================================
>> > ERROR MESSAGE FROM GRC
>> > ================================
>> > Traceback (most recent call last):
>> >   File "/home/cnss/test2.py", line 150, in <module>
>> >     main()
>> >   File "/home/cnss/test2.py", line 126, in main
>> >     tb = top_block_cls()
>> >   File "/home/cnss/test2.py", line 84, in __init__
>> >     channels=list(range(0,1)),
>> >   File "/usr/lib/python3/dist-packages/gnuradio/uhd/__init__.py", line 
>> > 125, in constructor_interceptor
>> >     return old_constructor(*args)
>> >   File "/usr/lib/python3/dist-packages/gnuradio/uhd/uhd_swig.py", line 
>> > 3259, in make
>> >     return _uhd_swig.usrp_source_make(device_addr, stream_args, 
>> > issue_stream_cmd_on_start)
>> > RuntimeError: LookupError: KeyError: No devices found for ----->
>> > Device Address:
>> >     addr: 192.168.20.2
>> >
>> >
>> Could you share the full output from the GR graph run? Including the 
>> headers where it says what version of UHD it is using?
>> 
>> Also, what was the device address string you used in GR?  Did you 
>> include type=n3xx,product=n310 ??
>> _______________________________________________
>> USRP-users mailing list -- usrp-users@lists.ettus.com
>> To unsubscribe send an email to usrp-users-le...@lists.ettus.com
_______________________________________________
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com

Reply via email to