On Thu, Mar 24, 2011 at 05:21:11PM +0800, honglonglong wrote:
howto_swig. Is this the cause of the problem? Is the article still valid
for 3.3.0 version?
quite a bit has changed from when that article was written. Most
concepts are still valid (e.g. QA test code, and the idea of
but a lot of the details have changed.
First of all, remember that gr-howto-write-a-block is more than just an
example, you can use it as a template for writing your own out-of-tree
modules. So you can immediately start writing code and using it with
your GNU Radio installation. So perhaps it isn’t really necessary to
understand all of the details.
I recommend startіng like this:
- Create your own module using the create-gnuradio-out-of-tree-project
command. This will rename the module from ‘howto’ to something else.
- Give it a try, compile the entire thing and run the qa code.
- Add a block of your own. You can use gr_modtool.py from
https://www.cgran.org/wiki/devtools, which automatically updates your
Makefiles and creates skeleton code for a new block.
If you’re completely new to all of this, start with a sync_block. This
means you produce as many output items as you have input items.
- Write some QA code, then write some signal processing code. Start with
- This seems weird, but don’t install anything (run ‘sudo make install’)
until you’re absolutely sure your stuff is correct.
Once you’ve got that working, the rest will follow quite easily.
Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)
Dipl.-Ing. Martin B.
Phone: +49 721 608-43790
Fax: +49 721 608-46071
KIT – University of the State of Baden-Württemberg and
National Laboratory of the Helmholtz Association