Hi, Did the flowgraph of the code (in which you added the timeout) involved receive_path???
Regards, Ali On Mon, Aug 3, 2009 at 11:21 AM, Dan Rosenqvist <da...@kth.se> wrote: > > > > Umair Nasir wrote: > > > > Hi all, > > > > This question is asked a number of times. And I believe it shouldn't be > > that > > tough. Somebody explain where to put this logic in benchmark_rx.py > > > > If no data received > > set freq to freq number 2 > > else > > stay on the current freq > > > > > > Waiting for a response. > > > > > > > > > > > > > > -- > > Umair > > > > _______________________________________________ > > Discuss-gnuradio mailing list > > Discuss-gnuradio@gnu.org > > http://lists.gnu.org/mailman/listinfo/discuss-gnuradio > > > > > > Hi, > > I've done this (not in benchmark_rx) by simply adding a timeout (utilizing > wxpython see Timer) and a global variable that keeps track of which > frequency to switch to. If no data is received before the timeout, I simply > switch to freq 2. > > Regards, > Dan > -- > View this message in context: > http://www.nabble.com/Editing-benchmark_rx.py-for-spectrum-access-tp24528535p24785911.html > Sent from the GnuRadio mailing list archive at Nabble.com. > > > > _______________________________________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > http://lists.gnu.org/mailman/listinfo/discuss-gnuradio >
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio