discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] vector input/output with embedded python block


From: James Jamison III
Subject: [Discuss-gnuradio] vector input/output with embedded python block
Date: Tue, 24 Apr 2018 10:21:15 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0

Hi All,

I found this thread from 2016:

https://lists.gnu.org/archive/html/discuss-gnuradio/2016-10/msg00087.html

that discusses the issue I am having, but when I tried to reply to the thread I got a responding email that said my email didn't go through.


The thread discusses how support for vector input / output wasn't included in the Embedded Python Block and I was wondering if this was something that was ever, or will ever be, added to the GRC mainline?  The thread includes a link (https://github.com/skoslowski/gnuradio/tree/epy_vectors) from Sebastian where he says that if you try that version it should have the added vlen support, but I didn't build gnuradio from source on my computer, I installed via "sudo apt install gnuradio".


Basically if I define my embedded python block to have vector input and output in the python code...

i.e.

in_sig = [(np.complex64, 128)],

out_sig = [(np.complex64, 128)]


then I get this error:

Param - Code(_source_code):

    Invalid conversion specification


But the same code works fine in an OOT module (assuming the proper xml code too).

Is there an extra step that I am missing when using vector input/output and the embedded python block?  Or is this an issue other people have had?

Thanks,

Jimmy




reply via email to

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