User talk:Duggabe

From GNU Radio
Revision as of 02:37, 20 January 2020 by Duggabe (talk | contribs)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

This is for notes on GR documentation.


01/14:
I think Guided_Tutorial_GNU_Radio_in_C++ can be used now for the Writing blocks in C++ (for 3.7)

see Cyrille and my discussion on Slack #docs on Wednesday 1/15 about Writing the XML file for a block (for 3.7)

01/17:
I added a gnuradio-companion error msg in https://wiki.gnuradio.org/index.php/InstallingGR#To_install_system_wide

01/19

~ $ gr_modtool newmod tutorial
Creating out-of-tree module in ./gr-tutorial...
Done.
Use 'gr_modtool add' to add a new block to this currently empty module.
~/gr-tutorial $ ls
apps  cmake  CMakeLists.txt  docs  examples  grc  include  lib  MANIFEST.md  python  swig
~/gr-tutorial $ gr_modtool add my_qpsk_demod_cb
GNU Radio module name identified: tutorial
('sink', 'source', 'sync', 'decimator', 'interpolator', 'general', 'tagged_stream', 'hier', 'noblock')
Enter block type: general
Language (python/cpp): cpp
Language: C++
Block/code identifier: my_qpsk_demod_cb
Please specify the copyright holder: gnuradio.org
Enter valid argument list, including default arguments: 
bool gray_code
Add Python QA code? [Y/n] Y
Add C++ QA code? [y/N] N
Adding file 'lib/my_qpsk_demod_cb_impl.h'...
Adding file 'lib/my_qpsk_demod_cb_impl.cc'...
Adding file 'include/tutorial/my_qpsk_demod_cb.h'...
Editing swig/tutorial_swig.i...
Adding file 'python/qa_my_qpsk_demod_cb.py'...
Editing python/CMakeLists.txt...
Adding file 'grc/tutorial_my_qpsk_demod_cb.block.yml'...
Editing grc/CMakeLists.txt...
  • and, of course, we need the YAML file instead of the XML file