Hi Damindra,
The error shows that gr.io_signature can take 3 arguments. In your case you have added 4 arguments. Now, when we look at some examples of gr.io_signature for python, we can see that the function you are looking for is gr.io_singature2 ( link). So, the statement would be as follows: gr.hier_block2.__init__(self, "ofdm_tx", gr.io_signature(1, 1, gr.sizeof_char), gr.io_signature2(2, 2, gr.sizeof_gr_complex, gr.sizeof_gr_complex))
This should solve the problem. Let me know if problem still persists.
Also, if there's any other way this problem can be approached, I will glad to know it.
|