On Wed, Mar 12, 2008 at 11:31 AM, Brook Lin <
address@hidden> wrote:
self.connect(self.chan_filt,ss2v,pick_one,my_fft,my_mag,(my_argmax,0))
self.connect((my_argmax,0),self.my0_s2f,self.my0_probe)
self.connect((my_argmax,1),my_s2f,self.my_probe)
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)
Thanks~~
<snip>