import sys
# from current dir
-from receive_path import receive_path
+import usrp_receive_path
#import os
#print os.getpid()
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)
# /////////////////////////////////////////////////////////////////////////////
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)