Adding new example script for using the new PFB arbitrary resampler interface. One...
[debian/gnuradio] / gnuradio-examples / python / digital / benchmark_rx.py
index b0b99ecff164861aeb40f9220c21650b2aa9c2cb..ccb0c896338c928cac63474297d4ed379be4b08e 100755 (executable)
@@ -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)