[Top][All Lists]

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

[Discuss-gnuradio] How to define wait() if the class is object rather th

From: Brook Lin
Subject: [Discuss-gnuradio] How to define wait() if the class is object rather than gr_top.block?
Date: Sun, 12 Feb 2012 18:27:40 -0800 (PST)

Dear All, 

In radar_mono.py file, class radar_rx(gr.top_block) and class
radar_tx(object) are defined. I would like to add a wait() function for both
radar_rx and radar_tx. 

In class radar_rx(gr.top_block), radar_rx is under gr.top_block class, so I
can define wait() as:
    def rx_wait(self):

However, radar_tx is defined as object, not the gr.top_block, how should I
define wait() function for radar_tx?

Thanks in advance,
View this message in context: 
Sent from the GnuRadio mailing list archive at Nabble.com.

reply via email to

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