A small error in benchmark_tx file

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
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
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

Ravi,

I don’t understand – are you Dave Allen?

Best regards,
Marcus