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):
        self.wait()

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

Thanks in advance,
Brook
-- 
View this message in context: 
http://old.nabble.com/How-to-define-wait%28%29-if-the-class-is-object-rather-than-gr_top.block--tp33312545p33312545.html
Sent from the GnuRadio mailing list archive at Nabble.com.


_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to