summaryrefslogtreecommitdiff
path: root/gr-pager/apps/usrp_flex_band.py
diff options
context:
space:
mode:
authorTom Rondeau2011-11-12 18:30:13 -0500
committerTom Rondeau2011-11-12 18:30:13 -0500
commit0e7c799e4ef7a392a8ffe47170666908bfcb183f (patch)
treedeb32d3810b4cb636ecfa24ff613a1aad1fd409c /gr-pager/apps/usrp_flex_band.py
parentc9c20b9051b997ab53a27869094648f15e0dccae (diff)
parent9a25332b706b1ffadf8cdf9b405e89c37a1e2278 (diff)
downloadgnuradio-0e7c799e4ef7a392a8ffe47170666908bfcb183f.tar.gz
gnuradio-0e7c799e4ef7a392a8ffe47170666908bfcb183f.tar.bz2
gnuradio-0e7c799e4ef7a392a8ffe47170666908bfcb183f.zip
Merge branch 'master' of gnuradio.org:gnuradio
Diffstat (limited to 'gr-pager/apps/usrp_flex_band.py')
-rwxr-xr-xgr-pager/apps/usrp_flex_band.py4
1 files changed, 1 insertions, 3 deletions
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)