How to exit GNU radio program

Hello All,

I am writing a basic GNU radio program. The program has 3 blocks, USRP2
, bandpass filter and file sink.

I want to read some specific frequency band and write the values to the
file.
The object of my class is called Tb

I start the program by Tb.Run()
But I the program goes to an infinite loop and never stops.
I have tried
Tb.start()
Tb.stop()
Tb.wait()
Sys.exit()

But the program does not exit. I want to run my filter program for two
different frequencies but it never stops so I am unable to run it the
second time.

Umer

On Wed, Jun 27, 2012 at 02:24:41PM +0100, [email protected] wrote:

I am writing a basic GNU radio program. The program has 3 blocks, USRP2 ,
bandpass filter and file sink.

Put in a gr.head()

M


Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)

Dipl.-Ing. Martin B.
Research Associate

Kaiserstraße 12
Building 05.01
76131 Karlsruhe

Phone: +49 721 608-43790
Fax: +49 721 608-46071
www.cel.kit.edu

KIT – University of the State of Baden-Württemberg and
National Laboratory of the Helmholtz Association