discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Grc RFNOC block error


From: Nikos Balkanas
Subject: Re: [Discuss-gnuradio] Grc RFNOC block error
Date: Fri, 11 Mar 2016 07:10:23 +0200

Hi,

Actually I managed to find a suitable block, Stream to Vec Decim under [Sream Operators]. Now it generates fine but I get the following runtime error:

Traceback (most recent call last):
File "/home/nikos/Desktop/top_block.py", line 143, in <module>
main()
File "/home/nikos/Desktop/top_block.py", line 131, in main
tb = top_block_cls()
File "/home/nikos/Desktop/top_block.py", line 78, in __init__
self.device3,
File "/usr/local/lib/python2.7/dist-packages/gnuradio/gr/hier_block2.py", line 92, in __getattr__
return getattr(self._impl, name)
AttributeError: 'top_block_sptr' object has no attribute 'device3'
Got bus address: "unix:abstract=/tmp/dbus-HUCB3jtUxk,guid=cee5aa19c0d99081aead7b3256e24e66"
Connected to accessibility bus at: "unix:abstract=/tmp/dbus-HUCB3jtUxk,guid=cee5aa19c0d99081aead7b3256e24e66"
Registered DEC: true

>>> Done (return code -11)

Seems device3 is needed by the RFNoC fosphor fft generator. How can I fix that?
Attached are top_block.py, and fosphor.grc flow.

TIA,
Nikos



On Fri, Mar 11, 2016 at 5:55 AM, Nikos Balkanas <address@hidden> wrote:
I have looked under <Misc>, <RFNoC>, <Type Converters> and searched for Vector*, but couldn't find any suitable blocks:(

On Fri, Mar 11, 2016 at 5:32 AM, Nikos Balkanas <address@hidden> wrote:
Hi,

And many thanks for your fast reply.
Indeed that seems to be the problem. How can I convert the scalar, or is it stream?, output from my usrp to a vector needed by fosphor?‚Äč

BR,
Nikos

On Fri, Mar 11, 2016 at 5:13 AM, Martin Braun <address@hidden> wrote:
fosphor needs FFTs as input, and it's currently set to 1024, so you need
to pass in vectors of length 1024. You're passing in scalars.

M

On 03/10/2016 05:39 PM, Nikos Balkanas wrote:
> Hi,
>
> I've been trying to start working with RFNoC blocks in grc. In this
> particular flow, I get this error, which prevents execution:
>
> Connection (
> Block - uhd_usrp_source_0 - UHD: USRP Source(uhd_usrp_source)
> Source - out(0)
> Block - uhd_rfnoc_streamer_fosphor_0 - RFNoC:
> fosphor(uhd_rfnoc_streamer_fosphor)
> Sink - in(0)
> ):
> Source IO size "8" does not match sink IO size "8192".
>
> Seems like a block configuration issue, one that i need help with, though.
> Using gnuradio 3.7.9.1 on Ubuntu 14.04 x64.
> Any advice would be appreciated.
>
> TIA
> Nikos
>
>
> _______________________________________________
> 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



Attachment: top_block.py
Description: Binary data

Attachment: fosphor.grc
Description: Binary data


reply via email to

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