hi all,
I have created a multiple flow graph code for my experimentation as
per the document - ’ writing python applications using gnuradio’. As
per this document, the individual flow graphs are connected as per the
following lines of code:
class my_top_block(gr.top_block):
def init(self):
gr.top_block.init(self)
tx_path = transmit_path()
rx_path = receive_path()
self.connect(tx_path)
self.connect(rx_path)
I have instantiated this class as tb = my_top_block(). I am not
getting how to access the elements inside these classes. For example,
if I have an element like ‘self.msgq’ in the class receive_path. How
to access this ‘msgq’ from my_top_block().
I tried giving tb.rx_path.msgq and tb.msgq directly. But this does not
work.
Please let me know how to go about this.