程序问答   发布时间:2022-05-31  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了GNU Radio 3.9 中的 RTL-SDR大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。

如何解决GNU Radio 3.9 中的 RTL-SDR?

开发过程中遇到GNU Radio 3.9 中的 RTL-SDR的问题如何解决?下面主要结合日常开发的经验,给出你关于GNU Radio 3.9 中的 RTL-SDR的解决方法建议,希望对你解决GNU Radio 3.9 中的 RTL-SDR有所启发或帮助;

我正在尝试使用此流程图让 rtl-sdr 通过 GNU Radio(使用 Ubuntu 20.04)接收 wbfM:

GNU Radio flowgraph

但是当我执行时,它给了我这个错误信息:

gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.1.0
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri Hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp 
Using device #0 Realtek RTL2838UHIDIR SN: 00000001
Found Rafael Micro R820T tuner
[R82XX] PLL not locked!
Exact sample rate is: 2000000,052982 Hz
[R82XX] PLL not locked!
TraceBACk (most recent call last):
  file "rtl_sdr_receive.py",line 270,in <module>
    main()
  file "rtl_sdr_receive.py",@R_3_5450@6,in main
    tb = top_block_cls()
  file "rtl_sdr_receive.py",line 187,in __init__
    self.connect((self.rtlsdr_source_0,0),(self.rational_resampler_xxx_0,0))
  file "/usr/lib/python3/dist-packages/gnuradio/gr/hIEr_block2.py",line 37,in wrapped
    func(self,src,src_port,dst,dst_port)
  file "/usr/lib/python3/dist-packages/gnuradio/gr/hIEr_block2.py",line 100,in connect
    self.primitive_connect(*args)
TypeError: primitive_connect(): incompatible function arguments. The following argument types are supported:
    1. (self: gnuradio.gr.gr_python.hIEr_block2_pb,block: gnuradio.gr.gr_python.basic_block) -> None
    2. (self: gnuradio.gr.gr_python.hIEr_block2_pb,src: gnuradio.gr.gr_python.basic_block,src_port: int,dst: gnuradio.gr.gr_python.basic_block,dst_port: int) -> None

Invoked with: <gnuradio.gr.gr_python.top_block_pb object at 0x7fae1b571af0>,<Swig Object of type 'gr::basic_block_sptr *' at 0x7fae1740c9c0>,<gnuradio.gr.gr_python.hIEr_block2_pb object at 0x7fae19809770>,0
swig/python detected a memory leak of type 'gr::basic_block_sptr *',no destructor found.

我使用的是 GNU Radio 3.9 版本,因为它是唯一一个与 rpitx(使用 TCP 连接)配合使用的版本。但它似乎在处理 rtl-sdr 时遇到了麻烦。这是软件错误还是我配置错误?已经尝试从 PPA 和源代码安装 GNU Radio 3.9,最终结果相同。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

@H_772_22@

大佬总结

以上是大佬教程为你收集整理的GNU Radio 3.9 中的 RTL-SDR全部内容,希望文章能够帮你解决GNU Radio 3.9 中的 RTL-SDR所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。
标签:3.9中的