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
> [email protected]
> 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
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to