discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Error using block UHD AMsg Source


From: Jose Torres Diaz
Subject: Re: [Discuss-gnuradio] Error using block UHD AMsg Source
Date: Thu, 11 Oct 2012 11:39:58 +1030

Hi Josh,

Do you mean to change in the top_block.py?. I did this, but when I run again the top_block.py, it changes back to:

gr_extras.uhd_amsg_source(device_addr="add=172.17.3.140")

even if I try:

gr_extras.uhd_amsg_source(uhd.device_addr="add=172.17.3.140")

Thanks again Josh,

Regards,

Jose

On Thu, Oct 11, 2012 at 11:24 AM, Josh Blum <address@hidden> wrote:


On 10/10/2012 05:51 PM, Jose Torres Diaz wrote:
> Hi All,
>
> I'm checking the functionality of the block "UHD AMsg Source" using the
> USRP N210. The device is correctly detected as you can see:
>
> uhd_find_devices
> linux; GNU C++ version 4.6.1; Boost_104601; UHD_003.004.003-221-g9d6f9492
>
> --------------------------------------------------
> -- UHD Device 0
> --------------------------------------------------
> Device Address:
>     type: usrp2
>     addr: 172.17.3.140
>     name:
>     serial: E0R17TCUP
>
> I've attached a screen-shot of the GRC file. When I run the flow graph, I
> get the following error:
>
> Traceback (most recent call last):
>   File "/home/asrpuser/Desktop/Jose Torres Material /top_block.py", line
> 54, in <module>
>     tb = top_block()
>   File "/home/asrpuser/Desktop/Jose Torres Material /top_block.py", line
> 33, in __init__
>     self.extras_uhd_amsg_source_0 =
> gr_extras.uhd_amsg_source(device_addr="add=172.17.3.140")

try gr_extras.uhd_amsg_source(uhd.device_addr("addr=172.17.3.140"))

>   File
> "/usr/local/lib/python2.7/dist-packages/gnuradio/extras/extras_swig.py",
> line 5384, in make
>     return _extras_swig.uhd_amsg_source_make(*args, **kwargs)
> TypeError: in method 'uhd_amsg_source_make', argument 1 of type
> 'uhd::device_addr_t const &'
>
> Anyone has seen an error like this before?, How can  I solve/workaround
> this error?
>
> Thanks a lot for your help,
>
> Jose.
>
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>

_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio





reply via email to

[Prev in Thread] Current Thread [Next in Thread]