gnuradio

ImportError: No module named _analog_swig

筅森魡賤 提交于 2020-08-09 12:45:23
问题 I am having issues getting python to import the _analog_swig gnuradio module in order to run gnuradio code on a Windows 8.1 64bit machine. Some background: I am running Python 2.7.10 (installed in C:\Python27) and have installed the latest gnuradio binary (v3.7.11.1/v1.3 64-Bit Any CPU) from here: http://www.gcndevelopment.com/gnuradio/downloads.htm. I have installed gnuradio to C:\Program Files\GNURadio-3.7 . I can run gnuradio companion and run flowgraphs from GRC successfully (which calls

ImportError: No module named _analog_swig

余生长醉 提交于 2020-08-09 12:44:35
问题 I am having issues getting python to import the _analog_swig gnuradio module in order to run gnuradio code on a Windows 8.1 64bit machine. Some background: I am running Python 2.7.10 (installed in C:\Python27) and have installed the latest gnuradio binary (v3.7.11.1/v1.3 64-Bit Any CPU) from here: http://www.gcndevelopment.com/gnuradio/downloads.htm. I have installed gnuradio to C:\Program Files\GNURadio-3.7 . I can run gnuradio companion and run flowgraphs from GRC successfully (which calls

How to correctly set PYTHONPATH for Visual Studio Code

你。 提交于 2020-06-24 05:06:08
问题 How do I correctly set up the $PYTHONPATH variable for my workspace in VisualStudio Code? Background Information I have installed two versions of GNURadio: GNURadio version 3.7.11 installed by the Linux Mint package manager in /usr/lib/python2.7/dist-packages/gnuradio GNURadio version 3.7.13.4 installed by PyBOMBS in /home/tejul/Documents/gr13/default/lib/python2.7/dist-packages/gnuradio (my prefix directory is ~/Documents/gr13/default ) I can use the newer version of GNURadio version only

gnuradio 中频信号

坚强是说给别人听的谎言 提交于 2020-02-10 05:22:15
gnuradio中频信号 sdr设备只能输出的频率范围只能输出采样率宽度的信号。如果要采集超出这个范围的信号,就要调整中频信号。让带宽覆盖要采集的频率。 来源: https://www.cnblogs.com/xuxiao951/p/11326770.html

X310运行gnuradio 报错

时光毁灭记忆、已成空白 提交于 2020-01-14 11:30:25
WARN: [ERROR] [STREAMERUSRP Source Block caught rx error code: 15] The receive packet handler caught a value exception. ValueError: Bad CHDR or packet fragment [ERROR] [RX FLOW CTRL] Error unpacking packet: ValueError: Bad CHDR or packet fragment [ERRORWARN: ] [STREAMER] The receive packet handler caught a value exception. ValueError: Bad CHDR or packet fragment USRP Source Block caught rx error code: 15 解决方案: X310:1GigE接口时设置MTU为 1500 .     10GigE接口时设置MTU为 9000 . 参考链接: Set the MTU to 1500 and that fixed it, thanks for the help! http://ettus.80997.x6.nabble.com/USRP-users-USRP-Source-Block

Using gr::fec::code::cc_encoder class in a hierarchical block

删除回忆录丶 提交于 2020-01-14 04:52:41
问题 I have implemented a very basic C++ CCSDS convolutional encoder (k=7,r=1/2) and it works fine. However, it is very basic and it lacks options such as operational mode (CC_STREAMING, CC_TERMINATED, CC_TAILBITING, CC_TRUNCATED) etc ..etc. Therefore, I have decided to use the default gnuradio gr::fec::code::cc_encoder class. My coding superclass will include puncturing and other blocks and therefore everything will be in a hierarchical block. So far I'm putting the blocks one by one in the

How exactly is hier_block 's behaviour different then that of a sync_block in GNU Radio?

冷暖自知 提交于 2019-12-31 04:38:07
问题 This is a continuation of this question. I understand that we cannot access input_items in __init__ of a sync_block but we can do so in hier_block (eg. here). I wanted to add a panel on the top block frame which can only be done by assigning a panel to self.win in __init__ (like in the hier_block example). If I try to assign a panel to self.win inside the work function of a sync_block then it gives the error : 'xyz' object has no attribute 'win' . Though it works if I assign a panel to self

Cmake building error,trying to install gnuradio-mediatools.amodule in GNURadio

岁酱吖の 提交于 2019-12-25 05:17:16
问题 The module can be find Here I think maybe some dependencies errors occured,anyone who has an idea will be great~ What I find important is lib/CMakeFiles/gnuradio-mediatools.dir/build.make:86: recipe for target 'lib/CMakeFiles/gnuradio-mediatools.dir/mediatools_audiosource_impl.cc.o' failed The whole list as follow: imatrix@Zero:~/下载/GNU/ 模块/gr-mediatools-master/build$ make -j4 Scanning dependencies of target mediatools_swig_swig_doc Scanning dependencies of target pygen_python_aead6 Scanning

update a variable in GNU Radio over the network

一世执手 提交于 2019-12-25 04:10:14
问题 I am using GNU Radio to stream RF data out using a UDP sink. The data is streamed to a controlling program. As part of this process I am frequency shifting (with a multiply block), filtering and down sampling. I would like to change the values of frequency shift at run time. Is there a way for me to have values from a UDP source saved directly to a variable? The only solution I can think of now is to forever generate a sine wave and then pipe that into GNU Radio, and then multiply my signal