X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=sidebyside;f=gnuradio-examples%2Fpython%2Fdigital%2Fbenchmark_rx.py;h=ccb0c896338c928cac63474297d4ed379be4b08e;hb=7b19372f83fede6a1d55e4b70202aa58b004e9f8;hp=b0b99ecff164861aeb40f9220c21650b2aa9c2cb;hpb=bc105a1ea4de1ba98fcbd7dfeac7b45b2a0ce5c3;p=debian%2Fgnuradio diff --git a/gnuradio-examples/python/digital/benchmark_rx.py b/gnuradio-examples/python/digital/benchmark_rx.py index b0b99ecf..ccb0c896 100755 --- a/gnuradio-examples/python/digital/benchmark_rx.py +++ b/gnuradio-examples/python/digital/benchmark_rx.py @@ -31,7 +31,7 @@ import struct import sys # from current dir -from receive_path import receive_path +import usrp_receive_path #import os #print os.getpid() @@ -40,7 +40,10 @@ from receive_path import receive_path class my_top_block(gr.top_block): def __init__(self, demodulator, rx_callback, options): gr.top_block.__init__(self) - self.rxpath = receive_path(demodulator, rx_callback, options) + + # Set up receive path + self.rxpath = usrp_receive_path.usrp_receive_path(demodulator, rx_callback, options) + self.connect(self.rxpath) # ///////////////////////////////////////////////////////////////////////////// @@ -77,7 +80,7 @@ def main(): help="Select modulation from: %s [default=%%default]" % (', '.join(demods.keys()),)) - receive_path.add_options(parser, expert_grp) + usrp_receive_path.add_options(parser, expert_grp) for mod in demods.values(): mod.add_options(expert_grp)