将Python块与CPP块连接起来使Gnuradio停止
我有两个gnuradio oot块。当相互连接时,我的流程图几乎立即停止而没有显示任何错误,如下所示。
Generating: '/root/top_block.py'
Executing: /usr/bin/python -u /root/top_block.py
*Two or three logs that match starting procedure of both blocks*
>>> Done
当两个块断开或单独使用时,一切正常。
第一个是用python编写的,输出out_sig = [np.complex64]
第二个用C ++和Input io_signature :: make(1,1,1,1,1,1,1,1,1,1 sizeof(gr_complex))< /代码>
我在将两个OOT块与PMT消息连接起来时也经历了类似的问题,原因是PMT消息的另一种类型作为输出/输入。这就是为什么我要查看要交换的数据类型的原因。但是,它说在这里 因此,也许我不是朝正确的方向看。
I have two gnuradio OOT blocks. When connected to each other, my flowgraph stops almost immediately without displaying any error, as follow.
Generating: '/root/top_block.py'
Executing: /usr/bin/python -u /root/top_block.py
*Two or three logs that match starting procedure of both blocks*
>>> Done
When the two blocks are disconnected, or used separately, everything works fine.
The first one is written in python and output out_sig=[np.complex64]
The second one is written in C++ and input io_signature::make(1, 1, sizeof(gr_complex))
I have experienced a similar problem while connecting two OOT blocks with pmt messages, and the reason was a different type of pmt message as output/input. This is why I'm looking at the type of data being exchanged. However it says here that gr_complex
and numpy.complex64
are equivalent so maybe I'm not looking in the right direction.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论