diff options
Diffstat (limited to 'gr-pager/apps')
-rwxr-xr-x | gr-pager/apps/usrp_flex.py | 4 | ||||
-rwxr-xr-x | gr-pager/apps/usrp_flex_all.py | 4 | ||||
-rwxr-xr-x | gr-pager/apps/usrp_flex_band.py | 4 |
3 files changed, 3 insertions, 9 deletions
diff --git a/gr-pager/apps/usrp_flex.py b/gr-pager/apps/usrp_flex.py index 7c90d9296..7d0d66a95 100755 --- a/gr-pager/apps/usrp_flex.py +++ b/gr-pager/apps/usrp_flex.py @@ -35,9 +35,7 @@ class app_top_block(gr.top_block): if options.from_file is None: # Set up USRP source - self.u = uhd.usrp_source(device_addr=options.address, - io_type=uhd.io_type.COMPLEX_FLOAT32, - num_channels=1) + self.u = uhd.usrp_source(device_addr=options.address, stream_args=uhd.stream_args('fc32')) # Grab 250 KHz of spectrum # (A UHD facility to get sample rate range and granularity would be useful) diff --git a/gr-pager/apps/usrp_flex_all.py b/gr-pager/apps/usrp_flex_all.py index 71a0a398e..36bd90034 100755 --- a/gr-pager/apps/usrp_flex_all.py +++ b/gr-pager/apps/usrp_flex_all.py @@ -39,9 +39,7 @@ class app_top_block(gr.top_block): else: # Set up USRP source - self.u = uhd.usrp_source(device_addr=options.address, - io_type=uhd.io_type.COMPLEX_FLOAT32, - num_channels=1) + self.u = uhd.usrp_source(device_addr=options.address, stream_args=uhd.stream_args('fc32')) # Tune daughterboard r = self.u.set_center_freq(options.freq+options.calibration, 0) diff --git a/gr-pager/apps/usrp_flex_band.py b/gr-pager/apps/usrp_flex_band.py index 8ea76c229..63fb93fa1 100755 --- a/gr-pager/apps/usrp_flex_band.py +++ b/gr-pager/apps/usrp_flex_band.py @@ -35,9 +35,7 @@ class app_top_block(gr.top_block): print "Reading samples from file", options.from_file else: # Set up USRP source - self.u = uhd.usrp_source(device_addr=options.address, - io_type=uhd.io_type.COMPLEX_FLOAT32, - num_channels=1) + self.u = uhd.usrp_source(device_addr=options.address, stream_args=uhd.stream_args('fc32')) # Grab 1 MHz of spectrum # (A UHD facility to get sample rate range and granularity would be useful) |