|
From: | ali siddiqi |
Subject: | Re: [Discuss-gnuradio] Editing benchmark_rx.py for spectrum access |
Date: | Mon, 3 Aug 2009 12:16:51 +0500 |
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
> address@hidden
> 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
address@hidden
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Prev in Thread] | Current Thread | [Next in Thread] |