diff options
author | Tom Rondeau | 2011-10-14 17:34:31 -0400 |
---|---|---|
committer | Tom Rondeau | 2011-10-14 17:34:31 -0400 |
commit | c7493e83269d7358da0ba7fbd4beee8f0f6be2e8 (patch) | |
tree | e39eafc0709c789190c26d3a6ffd467ccfb9481d /gr-digital/examples/ofdm/benchmark_ofdm_tx.py | |
parent | 620971bdb6554cf2a248b26a6dd5a069dbb9c873 (diff) | |
download | gnuradio-c7493e83269d7358da0ba7fbd4beee8f0f6be2e8.tar.gz gnuradio-c7493e83269d7358da0ba7fbd4beee8f0f6be2e8.tar.bz2 gnuradio-c7493e83269d7358da0ba7fbd4beee8f0f6be2e8.zip |
digital: fixed OFDM benchmark code to work over-the-air with UHD.
Diffstat (limited to 'gr-digital/examples/ofdm/benchmark_ofdm_tx.py')
-rwxr-xr-x | gr-digital/examples/ofdm/benchmark_ofdm_tx.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gr-digital/examples/ofdm/benchmark_ofdm_tx.py b/gr-digital/examples/ofdm/benchmark_ofdm_tx.py index fb4d97302..ad3609b52 100755 --- a/gr-digital/examples/ofdm/benchmark_ofdm_tx.py +++ b/gr-digital/examples/ofdm/benchmark_ofdm_tx.py @@ -37,12 +37,10 @@ class my_top_block(gr.top_block): gr.top_block.__init__(self) if(options.tx_freq is not None): - self.sink = uhd_transmitter(options.address, options.bitrate, - options.samples_per_symbol, + self.sink = uhd_transmitter(options.address, + options.bandwidth, options.tx_freq, options.tx_gain, options.antenna, options.verbose) - options.samples_per_symbol = self.sink._sps - elif(options.to_file is not None): self.sink = gr.file_sink(gr.sizeof_gr_complex, options.to_file) else: |