summaryrefslogtreecommitdiff
path: root/grc
diff options
context:
space:
mode:
authorjblum2009-01-28 18:41:23 +0000
committerjblum2009-01-28 18:41:23 +0000
commit47ef466fe778f43ed523ba782595cec31613bfd0 (patch)
tree1d1e199db397155f2980f8efbd69565cf63920fe /grc
parent5d77d6f0f1f893746ab46e827760592a4786d14d (diff)
downloadgnuradio-47ef466fe778f43ed523ba782595cec31613bfd0.tar.gz
gnuradio-47ef466fe778f43ed523ba782595cec31613bfd0.tar.bz2
gnuradio-47ef466fe778f43ed523ba782595cec31613bfd0.zip
callbacks for bb_freq and samp rate in fft and waterfall wrappers
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10327 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'grc')
-rw-r--r--grc/data/platforms/python/blocks/wxgui_fftsink2.xml1
-rw-r--r--grc/data/platforms/python/blocks/wxgui_waterfallsink2.xml2
2 files changed, 3 insertions, 0 deletions
diff --git a/grc/data/platforms/python/blocks/wxgui_fftsink2.xml b/grc/data/platforms/python/blocks/wxgui_fftsink2.xml
index bd2cb056e..8687c6919 100644
--- a/grc/data/platforms/python/blocks/wxgui_fftsink2.xml
+++ b/grc/data/platforms/python/blocks/wxgui_fftsink2.xml
@@ -33,6 +33,7 @@ self.Add(self.$(id).win)
self.GridAdd(self.$(id).win, $grid_pos[0], $grid_pos[1], $grid_pos[2], $grid_pos[3])
#end if</make>
<callback>set_baseband_freq($baseband_freq)</callback>
+ <callback>set_sample_rate($samp_rate)</callback>
<param>
<name>Type</name>
<key>type</key>
diff --git a/grc/data/platforms/python/blocks/wxgui_waterfallsink2.xml b/grc/data/platforms/python/blocks/wxgui_waterfallsink2.xml
index b5172f094..a296097d0 100644
--- a/grc/data/platforms/python/blocks/wxgui_waterfallsink2.xml
+++ b/grc/data/platforms/python/blocks/wxgui_waterfallsink2.xml
@@ -30,6 +30,8 @@ self.Add(self.$(id).win)
#else
self.GridAdd(self.$(id).win, $grid_pos[0], $grid_pos[1], $grid_pos[2], $grid_pos[3])
#end if</make>
+ <callback>set_baseband_freq($baseband_freq)</callback>
+ <callback>set_sample_rate($samp_rate)</callback>
<param>
<name>Type</name>
<key>type</key>