[Discuss-gnuradio] how to wait in python

2006-06-14 Thread Vincenzo Pellegrini
Very precious help, Mike! it works fine! I'm just so thankful! actually I haven't instantiated the thread as an independent class because it was a bit complicated to reference several parameters and function that had to remain within the main_flowgraph class. I found this while searching python do

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

2006-06-14 Thread mjam01
hey, here's a threading example from some python I have been playing with:--#start of python code...import threadingclass nicethread ( threading.Thread ):    def __init__ ( self,remoteip ):         self.remoteip = remoteip        threading.Thread.__init__ ( self )        def

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

2006-06-14 Thread mjam01
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.Mikehttp://m0mik.org On 6/13/06, Vincenzo Pellegrini <[EMAIL PROTECTED]> wrote: hi,I was trying to insert something like pauses between the executio

[Discuss-gnuradio] how to wait in python

2006-06-13 Thread Vincenzo Pellegrini
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 impleme