Installing: /usr/local/lib/python3.9/dist-packages/gnuradio/customModule/customModule_python.cpython-39-x86_64-linux-gnu.so Installing: /usr/local/lib/python3.9/dist-packages/gnuradio/customModule/addSubSelect.pyo Installing: /usr/local/lib/python3.9/dist-packages/gnuradio/customModule/_init_.pyo Installing: /usr/local/lib/python3.9/dist-packages/gnuradio/customModule/addSubSelect.pyc Installing: /usr/local/lib/python3.9/dist-packages/gnuradio/customModule/_init_.pyc Up-to-date: /usr/local/lib/python3.9/dist-packages/gnuradio/customModule/addSubSelect.py Up-to-date: /usr/local/lib/python3.9/dist-packages/gnuradio/customModule/_init_.py Installing: /usr/local/lib/cmake/gnuradio-customModule/gnuradio-customModuleConfig.cmake ![]() Installing: /usr/local/lib/cmake/gnuradio-customModule/gnuradio-customModuleTargets-release.cmake Installing: /usr/local/lib/cmake/gnuradio-customModule/gnuradio-customModuleTargets.cmake Installing: /usr/local/lib/x86_64-linux-gnu/libgnuradio-customModule.so Installing: /usr/local/lib/x86_64-linux-gnu/libgnuradio-customModule.so.1.0.0 Installing: /usr/local/lib/x86_64-linux-gnu/libgnuradio-customModule.so.1.0.0.0 Installing: /usr/local/include/gnuradio/customModule/multDivSelect.h Up-to-date: /usr/local/include/gnuradio/customModule/api.h Up-to-date: /usr/local/lib/cmake/gnuradio-customModule/gnuradio-customModuleConfig.cmake If the build/ directory already exists, remove it: Ensure you are in the gr-customModule directory: The block needs to be compiled and installed. Inputs : - label : in0 domain : stream dtype : complex - label : in1 domain : stream dtype : complex outputs : - label : out0 domain : stream dtype : complexĬompiling and Installing the Block Update the parameter definition with the information for selector: # 'file_format' specifies the version of the GRC yml format used in the file # and should usually not be changed. Default is 1) # * optional (optional - set to 1 for optional inputs. ) # * vlen (optional - data stream vector length. int, float, complex, byte, short, xxx_vector. # Keys include: # * label (an identifier for the GUI) # * domain (optional - stream or message. # Make one 'inputs' list entry per input and one 'outputs' list entry per output. ) # * default parameters : - id : parametername_replace_me label : FIX ME : dtype : string default : You need to fill in your grc/customModule_ #- id. in the make entry) # * label (label shown in the GUI) # * dtype (e.g. # Keys include: # * id (makes the value accessible as keyname, e.g. * * SPDX-License-Identifier: GPL-3.0-or-later */ #include "multDivSelect_impl.h" #include namespace gr ) # Make one 'parameters' list entry for every parameter you want settable from the GUI. However, the multDivSelect_impl.h and multDivSelect_ files defines the operation of the block and must be modified. Many of the files are automatically generated wrapper code that do not need to be modified. Multiple files will then be created or modified:Īdding file 'lib/multDivSelect_impl.h'.Īdding file 'lib/multDivSelect_'.Īdding file 'include/gnuradio/customModule/multDivSelect.h'.Īdding file 'python/customModule/bindings/docstrings/multDivSelect_pydoc_template.h'.Īdding file 'python/customModule/bindings/multDivSelect_'.Īdding file 'grc/customModule_'.Įditing grc/CMakeLists.txt. Select whether or not QA code is desired: Please specify the copyright holder: YourNameĬreate a boolean variable selector with a default value of true:Įnter valid argument list, including default arguments: ('sink', 'source', 'sync', 'decimator', 'interpolator', 'general', 'tagged_stream', 'hier', 'noblock')Įnter the name or organization of the copyright holder: GNU Radio module name identified: customModule Move to the gr-customModule directory created in the Creating Python OOT with gr-modtool tutorial: $ sudo apt-get install gnuradio-dev cmake libspdlog-dev clang-format Creating an OOT Block Consider installing the following packages before continuing: The basic GNU Radio install using:ĭoes not come with the proper libraries needed to compile and install OOT modules. This tutorial was written using GNU Radio v3.10.1.1 on Ubuntu 21.10, installed using the Ubuntu PPA from the Installation Wiki Page. ![]() ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |