discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] Reg : start() method in gr_top_block.h


From: sumitstop
Subject: [Discuss-gnuradio] Reg : start() method in gr_top_block.h
Date: Mon, 8 Oct 2012 16:12:24 -0700 (PDT)

Q-1

In the gr_top_block.h the start function has been defined as follows :

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
void start(int max_noutput_items=100000);

  /*!
   * Stop the running flowgraph.  Notifies each thread created by the
   * scheduler to shutdown, then returns to caller. Calling stop() on
   * a top_block that is already stopped IS NOT an error.
   */
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I am getting confused because its saying that it "Stop the running flow
graph ........... Notifies each thread created by the scheduler to shutdown
................ then returns to caller" So what does start means here. 

Q-2

Also its mentioned that run() method has maximum number of outputs is
1000000 but I was able to collect 2000000 samples using uhd_rx_cfile with
the tb.run() method ? Where I am wrong ?? 












--
View this message in context: 
http://gnuradio.4.n7.nabble.com/Reg-start-method-in-gr-top-block-h-tp37915.html
Sent from the GnuRadio mailing list archive at Nabble.com.



reply via email to

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