How to define wait() if the class is object rather than gr_top.block?

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()-if-the-class-is-object-rather-than-gr_top.block--tp33312545p33312545.html
Sent from the GnuRadio mailing list archive at Nabble.com.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs