discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] A small error in benchmark_tx file


From: Marcus Müller
Subject: Re: [Discuss-gnuradio] A small error in benchmark_tx file
Date: Tue, 8 Sep 2015 00:04:49 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0

Ravi,

I don't understand -- are you Dave Allen?

Best regards,
Marcus

On 07.09.2015 23:59, Ravi Vemuri wrote:
Hi all,
I have been trying to send data between 2 USRP's from the benchmark_tx
file only to observe that I have been receiving this error.

Traceback (most recent call last):
  File "./benchmark_tx.py", line 147, in <module>
    main()
  File "./benchmark_tx.py", line 111, in main
    tb = my_top_block(mods[options.modulation], options)
  File "./benchmark_tx.py", line 49, in __init__
    options.antenna, options.verbose)
  File
"/usr/local/share/gnuradio/examples/digital/narrowband/uhd_interface.py",
line 135, in __init__
    freq, gain, antenna)Hi all,
I have been trying to send data between 2 USRP's from the benchmark_tx
file only to observe that I have been receiving this error.

Traceback (most recent call last):
  File "./benchmark_tx.py", line 147, in <module>
    main()
  File "./benchmark_tx.py", line 111, in main
    tb = my_top_block(mods[options.modulation], options)
  File "./benchmark_tx.py", line 49, in __init__
    options.antenna, options.verbose)
  File
"/usr/local/share/gnuradio/examples/digital/narrowband/uhd_interface.py",
line 135, in __init__
    freq, gain, antenna)
  File
"/usr/local/share/gnuradio/examples/digital/narrowband/uhd_interface.py",
line 62, in __init__
    self._rate, self._sps = self.set_sample_rate(bitrate, sps)
  File
"/usr/local/share/gnuradio/examples/digital/narrowband/uhd_interface.py",
line 70, in set_sample_rate
    asked_samp_rate = bitrate * req_sps
TypeError: unsupported operand type(s) for *: 'float' and 'NoneType'

I am unable to understand what this error means? I have tried to search
in the Internet about this but found nothing relevant. Please advice as
to what I can do?

Thanks,
Dave
  File
"/usr/local/share/gnuradio/examples/digital/narrowband/uhd_interface.py",
line 62, in __init__
    self._rate, self._sps = self.set_sample_rate(bitrate, sps)
  File
"/usr/local/share/gnuradio/examples/digital/narrowband/uhd_interface.py",
line 70, in set_sample_rate
    asked_samp_rate = bitrate * req_sps
TypeError: unsupported operand type(s) for *: 'float' and 'NoneType'

I am unable to understand what this error means? I have tried to search
in the Internet about this but found nothing relevant. Please advice as
to what I can do?

Thanks,
Dave


_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


reply via email to

[Prev in Thread] Current Thread [Next in Thread]