Fixing call to usrp_receive_path2.
authorTom Rondeau <trondeau@vt.edu>
Sun, 14 Mar 2010 01:13:01 +0000 (20:13 -0500)
committerTom Rondeau <trondeau@vt.edu>
Sun, 14 Mar 2010 01:13:01 +0000 (20:13 -0500)
gnuradio-examples/python/digital/benchmark_qt_rx2.py
gnuradio-examples/python/digital/benchmark_rx2.py [changed mode: 0644->0755]

index e4d398a8cd62f40d3a7603a6af317306eef9116d..d9d58e537b50c55e1ae92f72c644969caf412edf 100755 (executable)
@@ -352,7 +352,6 @@ class my_top_block(gr.top_block):
     def set_rx_gain_freq(self, gain_freq):
         self._gain_freq = gain_freq
         #self._gain_freq_beta = .25 * self._gain_freq * self._gain_freq
-        print self._gain_freq
         self.rxpath.packet_receiver._demodulator.freq_recov.set_alpha(self._gain_freq)
         self.rxpath.packet_receiver._demodulator.freq_recov.set_beta(self._gain_freq/10.0)
         #self.rxpath.packet_receiver._demodulator.freq_recov.set_beta(self._gain_fre_beta)
old mode 100644 (file)
new mode 100755 (executable)
index 458279e..cc3dd67
@@ -42,7 +42,7 @@ class my_top_block(gr.top_block):
         gr.top_block.__init__(self)
 
         # Set up receive path
-        self.rxpath = usrp_receive_path.usrp_receive_path(demodulator, rx_callback, options) 
+        self.rxpath = usrp_receive_path2.usrp_receive_path(demodulator, rx_callback, options) 
 
         self.connect(self.rxpath)
 
@@ -80,7 +80,7 @@ def main():
                       help="Select modulation from: %s [default=%%default]"
                             % (', '.join(demods.keys()),))
 
-    usrp_receive_path.add_options(parser, expert_grp)
+    usrp_receive_path2.add_options(parser, expert_grp)
 
     for mod in demods.values():
         mod.add_options(expert_grp)