Hi,

I'm attempting to create a tagged stream block in Python using the
following constructor:

class test_tagged_stream(gr.tagged_stream_block):

    def __init__(self, test_param):
        gr.tagged_stream_block.__init__(self,
            name="test_tagged_stream",
            in_sig=[numpy.complex64],
            out_sig=[numpy.complex64],
            length_tag_key="test_tag")

However Python is throwing "AttributeError: No constructor defined" at me.
Is there some glaringly obvious error in the above code? I am using the
input argument list as defined at
https://www.gnuradio.org/doc/doxygen/classgr_1_1tagged__stream__block.html#a601cd4073e9c3e6317b5ecc5e2e5871b

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

Reply via email to