summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Blum2010-01-10 01:03:11 -0800
committerJosh Blum2010-01-10 01:03:11 -0800
commita549bd11646f60d425a74d530b8f3ddfc4774202 (patch)
treeee6ff51e023ce83c226de84c15af4255dbd60888
parent5928825be7a4f887b27877418ad8c017863c21fc (diff)
downloadgnuradio-a549bd11646f60d425a74d530b8f3ddfc4774202.tar.gz
gnuradio-a549bd11646f60d425a74d530b8f3ddfc4774202.tar.bz2
gnuradio-a549bd11646f60d425a74d530b8f3ddfc4774202.zip
fixed issue 387: removed uses of win.set for wx sinks
-rwxr-xr-xgr-gpio/src/python/gpio_usrp_fft.py4
-rwxr-xr-xgr-msdd6000/src/python-examples/new_msdd_fft.py4
-rwxr-xr-xgr-radio-astronomy/src/python/ra_fftsink.py4
-rwxr-xr-xgr-utils/src/python/usrp2_fft.py4
-rwxr-xr-xgr-utils/src/python/usrp_fft.py4
-rwxr-xr-xusrp2/host/apps/stdin_int32_fft.py4
6 files changed, 12 insertions, 12 deletions
diff --git a/gr-gpio/src/python/gpio_usrp_fft.py b/gr-gpio/src/python/gpio_usrp_fft.py
index 40b1c54d4..c9ecb032d 100755
--- a/gr-gpio/src/python/gpio_usrp_fft.py
+++ b/gr-gpio/src/python/gpio_usrp_fft.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
#
-# Copyright 2004,2005,2007,2008,2009 Free Software Foundation, Inc.
+# Copyright 2004,2005,2007,2008,2009,2010 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
@@ -279,7 +279,7 @@ class app_top_block(stdgui2.std_top_block):
self.myform['baseband'].set_value(r.baseband_freq)
self.myform['ddc'].set_value(r.dxc_freq)
if not self.options.waterfall and not self.options.oscilloscope:
- self.scope.win.set_baseband_freq(target_freq)
+ self.scope.set_baseband_freq(target_freq)
return True
return False
diff --git a/gr-msdd6000/src/python-examples/new_msdd_fft.py b/gr-msdd6000/src/python-examples/new_msdd_fft.py
index 0b31a00d9..782ecb66e 100755
--- a/gr-msdd6000/src/python-examples/new_msdd_fft.py
+++ b/gr-msdd6000/src/python-examples/new_msdd_fft.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
#
-# Copyright 2004,2005,2007,2008 Free Software Foundation, Inc.
+# Copyright 2004,2005,2007,2008,2010 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
@@ -245,7 +245,7 @@ class app_top_block(stdgui2.std_top_block):
# self.myform['baseband'].set_value(r.baseband_freq)
# self.myform['ddc'].set_value(r.dxc_freq)
if not self.options.waterfall and not self.options.oscilloscope:
- self.scope.win.set_baseband_freq(target_freq)
+ self.scope.set_baseband_freq(target_freq)
return True
return False
diff --git a/gr-radio-astronomy/src/python/ra_fftsink.py b/gr-radio-astronomy/src/python/ra_fftsink.py
index 4733027c1..8718a8f67 100755
--- a/gr-radio-astronomy/src/python/ra_fftsink.py
+++ b/gr-radio-astronomy/src/python/ra_fftsink.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
#
-# Copyright 2003,2004,2005,2007 Free Software Foundation, Inc.
+# Copyright 2003,2004,2005,2007,2010 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
@@ -82,7 +82,7 @@ class ra_fft_sink_base(object):
self.peak_hold = enable
if enable:
self.set_average(False)
- self.win.set_peak_hold(enable)
+ self.set_peak_hold(enable)
def set_autoscale(self, auto):
self.autoscale = auto
diff --git a/gr-utils/src/python/usrp2_fft.py b/gr-utils/src/python/usrp2_fft.py
index 1e8cf89ea..4276e389a 100755
--- a/gr-utils/src/python/usrp2_fft.py
+++ b/gr-utils/src/python/usrp2_fft.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
#
-# Copyright 2004,2005,2007,2008 Free Software Foundation, Inc.
+# Copyright 2004,2005,2007,2008,2010 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
@@ -218,7 +218,7 @@ class app_top_block(stdgui2.std_top_block):
self.myform['baseband'].set_value(r.baseband_freq)
self.myform['ddc'].set_value(r.dxc_freq)
if not self.options.oscilloscope:
- self.scope.win.set_baseband_freq(target_freq)
+ self.scope.set_baseband_freq(target_freq)
return True
return False
diff --git a/gr-utils/src/python/usrp_fft.py b/gr-utils/src/python/usrp_fft.py
index 4aa70adab..ab7fb4462 100755
--- a/gr-utils/src/python/usrp_fft.py
+++ b/gr-utils/src/python/usrp_fft.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
#
-# Copyright 2004,2005,2007,2008 Free Software Foundation, Inc.
+# Copyright 2004,2005,2007,2008,2010 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
@@ -255,7 +255,7 @@ class app_top_block(stdgui2.std_top_block):
self.myform['baseband'].set_value(r.baseband_freq)
self.myform['ddc'].set_value(r.dxc_freq)
if not self.options.oscilloscope:
- self.scope.win.set_baseband_freq(target_freq)
+ self.scope.set_baseband_freq(target_freq)
return True
return False
diff --git a/usrp2/host/apps/stdin_int32_fft.py b/usrp2/host/apps/stdin_int32_fft.py
index 5391863a5..1596fa00d 100755
--- a/usrp2/host/apps/stdin_int32_fft.py
+++ b/usrp2/host/apps/stdin_int32_fft.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
#
-# Copyright 2004,2005,2007,2008 Free Software Foundation, Inc.
+# Copyright 2004,2005,2007,2008,2010 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
@@ -152,7 +152,7 @@ class app_top_block(stdgui2.std_top_block):
if True:
self.myform['freq'].set_value(target_freq) # update displayed value
if not self.options.waterfall and not self.options.oscilloscope:
- self.scope.win.set_baseband_freq(target_freq)
+ self.scope.set_baseband_freq(target_freq)
return True
return False