discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] how to wait in python


From: mjam01
Subject: Re: [Discuss-gnuradio] how to wait in python
Date: Wed, 14 Jun 2006 10:30:48 +0100

Hey,

how about using a thread to launch the frequency changes and then use time.sleep(1) within the thread.

This won't pause the rest of the application.

Mike
http://m0mik.org


On 6/13/06, Vincenzo Pellegrini <address@hidden> wrote:
hi,

I was trying to insert something like pauses between the execution of
python commands.

the purpose is to give the usrp enough time to change the center
frequency of the frontend and provide some sampless to process, before
we move on to next frequency we want to reach.
the idea is to implement an automatic, fine grained frequency slider.

so I tried the time.sleep(seconds) from the module time.

this is ok as it doesn't hurt the audio demodulation branch of my flow-
graph,

but, unfortunately, it pauses (I don't know why) the refreshing of both
scopesink and fftsink, which I'm using in my application.

any suggestions?

thanks

vincenzo





_______________________________________________
Discuss-gnuradio mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


reply via email to

[Prev in Thread] Current Thread [Next in Thread]