On Wed, Mar 12, 2008 at 11:31 AM, Brook Lin <address@hidden
Thanks Tim. The code is clear. But I have questions on my0_probe and
my_probe. Are they fft.win, or numbersink or other kind of sink?
The probes are gr.probe_signal_f()
You don't have to use them. number_sink_f() is the object that will display the number in your gui.
# this is the number sink that will display
self.my_number = numbersink2.number_sink_f(self.panel,label= "maxIndex",decimal_places=2)
self.connect (self.my0_s2f, self.my_number)
vbox.Add (self.my_number.win, 4, wx.EXPAND)