#!/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
#
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
#!/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
#
# 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
#!/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
#
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
#!/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
#
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
#!/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
#
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
#!/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
#
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