discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] A basic but critical problem in beginning of pyth


From: adib_sairi
Subject: Re: [Discuss-gnuradio] A basic but critical problem in beginning of python code
Date: Sat, 5 Sep 2009 00:50:33 -0700 (PDT)



nansai hu wrote:
> 
> When run a python script file, as we know main function will be run first.
> We send the class to a object "tb",for instance. Then we have two ways to
> let the program run.
> One is call tb.run() function,and other is call tb.start() function.Could
> somebody told me the difference bewteen these?
> 
> In my coding experience, use .run() the gui will display if you py file is
> modified by a grc file, but if use the .start() function, no gui display
> even in same program.
> 
> 

tb.start will start the executing the program. 
tb.rum do two things; tb.start and tb.wait. tb.wait will keep the flow graph
keep running.

Adib

-- 
View this message in context: 
http://www.nabble.com/A-basic-but-critical-problem-in-beginning-of-python-code-tp25304873p25305848.html
Sent from the GnuRadio mailing list archive at Nabble.com.





reply via email to

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