diff options
author | Tom Rondeau <trondeau@vt.edu> | 2012-07-16 23:00:18 -0400 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2012-07-16 23:00:18 -0400 |
commit | a61ddc223da190476b38f891ea425f44d8c5f269 (patch) | |
tree | 4bdd5fba256fb6b453efa2f6b927133131b289c9 /gr-digital | |
parent | d7190928b79f15e036dced7fc9f4a5c8ed39c4d7 (diff) |
digital: fixed narrowband BER test.
Diffstat (limited to 'gr-digital')
-rwxr-xr-x | gr-digital/examples/narrowband/digital_bert_rx.py | 5 | ||||
-rwxr-xr-x | gr-digital/examples/narrowband/digital_bert_tx.py | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/gr-digital/examples/narrowband/digital_bert_rx.py b/gr-digital/examples/narrowband/digital_bert_rx.py index daefc5116d..fd04901cb7 100755 --- a/gr-digital/examples/narrowband/digital_bert_rx.py +++ b/gr-digital/examples/narrowband/digital_bert_rx.py @@ -65,8 +65,9 @@ class bert_receiver(gr.hier_block2): self._bitrate = bitrate - self._demod = digital.generic_demod(constellation, samples_per_symbol, - differential, excess_bw, gray_coded, + self._demod = digital.generic_demod(constellation, differential, + samples_per_symbol, + gray_coded, excess_bw, freq_bw, timing_bw, phase_bw, verbose, log) diff --git a/gr-digital/examples/narrowband/digital_bert_tx.py b/gr-digital/examples/narrowband/digital_bert_tx.py index 7caccdf42b..ff8bf9f104 100755 --- a/gr-digital/examples/narrowband/digital_bert_tx.py +++ b/gr-digital/examples/narrowband/digital_bert_tx.py @@ -45,8 +45,9 @@ class bert_transmit(gr.hier_block2): self._bits = gr.vector_source_b([1,], True) # Infinite stream of ones self._scrambler = digital.scrambler_bb(0x8A, 0x7F, 7) # CCSDS 7-bit scrambler - self._mod = digital.generic_mod(constellation, samples_per_symbol, - differential, excess_bw, gray_coded, + self._mod = digital.generic_mod(constellation, differential, + samples_per_symbol, + gray_coded, excess_bw, verbose, log) self._pack = gr.unpacked_to_packed_bb(self._mod.bits_per_symbol(), gr.GR_MSB_FIRST) |