diff options
author | Tom Rondeau | 2010-03-13 20:13:01 -0500 |
---|---|---|
committer | Tom Rondeau | 2010-03-13 20:13:01 -0500 |
commit | 6a617516e0678df0c6cb94319cb5980556d49793 (patch) | |
tree | 9de2431ef4168a9db21828b6d940ae10bc66b42d /gnuradio-examples | |
parent | ec8e9c7e113046c66176498f12ec79f11d3da65e (diff) | |
download | gnuradio-6a617516e0678df0c6cb94319cb5980556d49793.tar.gz gnuradio-6a617516e0678df0c6cb94319cb5980556d49793.tar.bz2 gnuradio-6a617516e0678df0c6cb94319cb5980556d49793.zip |
Fixing call to usrp_receive_path2.
Diffstat (limited to 'gnuradio-examples')
-rwxr-xr-x | gnuradio-examples/python/digital/benchmark_qt_rx2.py | 1 | ||||
-rwxr-xr-x[-rw-r--r--] | gnuradio-examples/python/digital/benchmark_rx2.py | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/gnuradio-examples/python/digital/benchmark_qt_rx2.py b/gnuradio-examples/python/digital/benchmark_qt_rx2.py index e4d398a8c..d9d58e537 100755 --- a/gnuradio-examples/python/digital/benchmark_qt_rx2.py +++ b/gnuradio-examples/python/digital/benchmark_qt_rx2.py @@ -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) diff --git a/gnuradio-examples/python/digital/benchmark_rx2.py b/gnuradio-examples/python/digital/benchmark_rx2.py index 458279ef8..cc3dd6727 100644..100755 --- a/gnuradio-examples/python/digital/benchmark_rx2.py +++ b/gnuradio-examples/python/digital/benchmark_rx2.py @@ -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) |