Monday, September 7, 2015

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

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  Discuss-gnuradio@gnu.org  https://lists.gnu.org/mailman/listinfo/discuss-gnuradio  

No comments:

Post a Comment