|
From: | Damindra Bandara |
Subject: | Re: [Discuss-gnuradio] Modifying OFDM-TX block get an additional output |
Date: | Fri, 23 Dec 2016 10:27:40 -0500 |
On Fri, Dec 23, 2016 3:17 AM, Damindra Bandara address@hidden wrote:
I also added the following to digital_ofdm_tx.xml as,Hi,I am trying to modify OFDM-TX block to get an additional output after the payload_mod block(Payload Constellation modulator). I modified the ofdm_txrx.py file in /gr-digital/python/digital as follows.
gr.hier_block2.__init__(self, "ofdm_tx",
gr.io_signature(1, 1, gr.sizeof_char),
gr.io_signature(1, 2, gr.sizeof_gr_complex,gr.sizeof_gr_complex))
self.connect((payload_mod), (self, 1))
<source>
<name>New out</name>
<type>complex</type>
<optional>1</optional>
</source>After make install I can see the additional output port. But when I try to run it I get the following error.
gr.io_signature(1, 2, gr.sizeof_gr_complex,gr.sizeof_gr_complex))
TypeError: make() takes exactly 3 arguments (4 given)Could you please let me know whether there are any additional changes that I have to do to make this work.Thank you,Damindra--Damindra Savithri Bandara,Ph.D. in Information Technology (Candidate)
George Mason University,
Fairfax,
Virginia
[Prev in Thread] | Current Thread | [Next in Thread] |