GRC 3.7.2.1 的 .bin 到 .cfile 流程图 [英] .bin to .cfile flowgraph for GRC 3.7.2.1

查看:33
本文介绍了GRC 3.7.2.1 的 .bin 到 .cfile 流程图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试打开流程图以覆盖 .bin 文件(数据通过 RTL-SDR 捕获)到 .cfile 进行分析.我从链接 http://sdr.osmocom.org/trac/attachment/wiki/rtl-sd...

I have tried opening the flow graph for coverting .bin file (data captured via RTL-SDR) to .cfile for analysis. I downloaded the file from the link http://sdr.osmocom.org/trac/attachment/wiki/rtl-sd...

但是,我无法让它在 GRC 3.7.2.1 上运行.当我尝试打开文件时,我收到一长串错误消息(如下所示).

However, I am unable to get it working on GRC 3.7.2.1. I get a long list of error messages (given below) when I just try to open the file.

我使用的是 Ubuntu v14.04.1.

I am using Ubuntu v14.04.1.

如果您能帮助我解决此问题,或提供将 .bin 文件转换为 .cfile(python 源代码?)的任何替代方法,我将不胜感激.

I would be really grateful for any help to solve this or any alternate ways to convert the .bin file to .cfile (python source code?)

=======================================================
 <<< Welcome to GNU Radio Companion 3.7.2.1 >>>

Showing: ""

Loading: "/home/zorro/Downloads/rtl2832-cfile.grc"
Error:
/home/zorro/Downloads/rtl2832-cfile.grc:2:0:ERROR:VALID:DTD_UNKNOWN_ELEM:
No declaration for element html
/home/zorro/Downloads/rtl2832-cfile.grc:2:0:ERROR:VALID:DTD_UNKNOWN_ATTRIBUTE:
No declaration for attribute xmlns of element html
/home/zorro/Downloads/rtl2832-cfile.grc:9:0:ERROR:VALID:DTD_UNKNOWN_ELEM:
No declaration for element head
/home/zorro/Downloads/rtl2832-cfile.grc:10:0:ERROR:VALID:DTD_UNKNOWN_ELEM:

推荐答案

您所看到的错误的原因是您的链接错误 — 它被截断并指向 HTML 页面,而不是 GRC 文件.错误来自 GRC 试图将 HTML 解释为 GRC XML.下载的正确链接是:http://sdr.osmocom.org/trac/raw-attachment/wiki/rtl-sdr/rtl2832-cfile.grc

The cause of the errors you are seeing is that your link is bad — it is truncated and points to a HTML page, not a GRC file. The errors come from GRC trying to interpret the HTML as GRC XML instead. The correct link to the download is: http://sdr.osmocom.org/trac/raw-attachment/wiki/rtl-sdr/rtl2832-cfile.grc

但是,请注意,该流程图是为 GNU Radio 3.6 构建的,由于在内部重命名了许多块,因此在 GNU Radio 3.7 中将无法使用.我建议使用提供的图片从头开始重建它.

However, note that that flowgraph was built for GNU Radio 3.6 and will not work in GNU Radio 3.7 due to many blocks being internally renamed. I would recommend rebuilding it from scratch using the provided picture.

由于此流程图中没有变量,您可以简单地拖出块并设置参数,如图所示.这样做也是熟悉 GNU Radio Companion 用户界面的一个很好的练习.

Since there are no variables in this flowgraph, you can simply drag out the blocks and set the parameters as shown. Doing so will be a good exercise for familiarizing yourself with the GNU Radio Companion user interface, too.

这篇关于GRC 3.7.2.1 的 .bin 到 .cfile 流程图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆