[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Changing frequency dynamically in benchmark_rx.p
From: |
Tom Rondeau |
Subject: |
Re: [Discuss-gnuradio] Changing frequency dynamically in benchmark_rx.py |
Date: |
Thu, 18 Jun 2009 08:29:03 -0400 |
On Thu, Jun 18, 2009 at 12:50 AM, ali siddiqi<address@hidden> wrote:
> Hi,
>
> As far as I could understand, rx_callback function in benchmark_rx.py
> executes only when a packet is received.
> If the tranmitted freq is 460e6 while the reciever is set at 459e6, no
> packet would be received. I want this 'no packet being received for a
> certain amount of time' as an indication to set the frequency of the
> receiver to another value; 460e6 in my case!
> How and where in the code should I put this logic?
>
> Looking for help!
> Ali
The first thing that comes to mind is to use threads and a join with a
timeout or a condition with a wait or a timer object.
See: http://docs.python.org/library/threading.html
You would implement this in benchmark_rx.py.
Tom
- [Discuss-gnuradio] Changing frequency dynamically in benchmark_rx.py, ali siddiqi, 2009/06/18
- Re: [Discuss-gnuradio] Changing frequency dynamically in benchmark_rx.py,
Tom Rondeau <=
- Re: [Discuss-gnuradio] Changing frequency dynamically in benchmark_rx.py, ali siddiqi, 2009/06/20
- Re: [Discuss-gnuradio] Changing frequency dynamically in benchmark_rx.py, ali siddiqi, 2009/06/20
- Re: [Discuss-gnuradio] Changing frequency dynamically in benchmark_rx.py, Jason Uher, 2009/06/20
- Re: [Discuss-gnuradio] Changing frequency dynamically in benchmark_rx.py, Tom Rondeau, 2009/06/20
- Re: [Discuss-gnuradio] Changing frequency dynamically in benchmark_rx.py, ali siddiqi, 2009/06/26
- Re: [Discuss-gnuradio] Changing frequency dynamically in benchmark_rx.py, Jason Uher, 2009/06/26