Creating Python OOT with gr-modtool: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:
apps  cmake  CMakeLists.txt  docs  examples  grc  include  lib  MANIFEST.md  python
apps  cmake  CMakeLists.txt  docs  examples  grc  include  lib  MANIFEST.md  python


now need to create a block within the OOT module. the block to be created will either add or subtract based on an input parameter.


$ gr_modtool add addSubtractSelector


now need to create a block within the OOT module
Given a questionaire about how to define the block.


$ gr_modtool add testblock
GNU Radio module name identified: ootmodule
 
('sink', 'source', 'sync', 'decimator', 'interpolator', 'general', 'tagged_stream', 'hier', 'noblock')
Creates multiple prompts

Revision as of 16:35, 8 March 2022

move to an appropriate directory for a new module create the oot-module, which is a collection of packages

$ gr_modtool newmod ootmodule

creates directory gr-ootmodule

$ cd gr-ootmodule $ ls

apps cmake CMakeLists.txt docs examples grc include lib MANIFEST.md python

now need to create a block within the OOT module. the block to be created will either add or subtract based on an input parameter.

$ gr_modtool add addSubtractSelector

Given a questionaire about how to define the block.

GNU Radio module name identified: ootmodule ('sink', 'source', 'sync', 'decimator', 'interpolator', 'general', 'tagged_stream', 'hier', 'noblock')