Creating C++ OOT with gr-modtool: Difference between revisions
Mattcarrick (talk | contribs) |
Mattcarrick (talk | contribs) |
||
Line 32: | Line 32: | ||
Language: C++ | Language: C++ | ||
Block/code identifier: multDivSelector</pre> | Block/code identifier: multDivSelector</pre> | ||
Enter the name or organization of the copyright holder: | |||
<pre>Please specify the copyright holder: YourName</pre> |
Revision as of 17:01, 9 March 2022
Beginner Tutorials
Introducing GNU Radio Flowgraph Fundamentals
Creating and Modifying Python Blocks DSP Blocks
SDR Hardware |
TODO: intro material
The previous tutorial, Creating Python OOT with gr-modtool, describes how to create a Python block in an OOT module. This c++ OOT tutorial builds upon the previous Python one, so it is is suggested to at least complete the Installation Note and Creating an OOT Module portions of that tutorial before completing this one.
TODO: pick up from python OOT tutorial
TODO: link back to python tutorial
Adding a New Block
Move to the gr-customModule directory:
cd your-path/gr-customModule
Add a new block named multDivSelector:
$ gr_modtool add multDivSelector
The types of blocks will be displayed:
GNU Radio module name identified: customModule ('sink', 'source', 'sync', 'decimator', 'interpolator', 'general', 'tagged_stream', 'hier', 'noblock')
Enter sync as the block type:
Enter block type: sync
Enter cpp as the language:
Language (python/cpp): cpp Language: C++ Block/code identifier: multDivSelector
Enter the name or organization of the copyright holder:
Please specify the copyright holder: YourName