You can of course add that later on, but don't forget to change both your include/blockname.h, your lib/blockname_impl.h and your lib/blockname_impl.cc. If you want to work with GRC, remember to edit the .xml in grc/, too!

Best regards,
Marcus

PS: gr_modtool doesn't do anything magical; it really just adds files with the content you specify. I'd like to encourage you to try around a bit more! You can't break much. And with version control (git) having your back, you can hardly do any harm even to your own work :)

On 17.07.2015 14:38, monika bansal wrote:
Hii
One more doubt...
As the gr-digital / include/ ofdm_chest_vcvc.h file have the argument list given as
      static sptr make(
      const std::vector<gr_complex> &sync_symbol1,
      const std::vector<gr_complex> &sync_symbol2,
      int n_data_symbols,
      int eq_noise_red_len=0,
      int max_carr_offset=-1,
      bool force_one_sync_symbol=false
      );
Do we need to give Argument list at time of gr_modtool add when it asks... Or we can add it later if we are not sure at the time of adding new block.

On Fri, Jul 17, 2015 at 5:42 PM, monika bansal <monika19...@gmail.com <mailto:monika19...@gmail.com>> wrote:

    Thanks...

    On Fri, Jul 17, 2015 at 5:16 PM, Marcus Müller
    <marcus.muel...@ettus.com <mailto:marcus.muel...@ettus.com>> wrote:

        Hi Monika,

        absolutely the same method:

        cd gr-exisitingmodule
        gr_modtool add

        Note that this can only work with modules that follow
        gr_modtool's conventions (i.e. practically only with modules
        generated with gr_modtool in the first place)

        Best regards,
        Marcus


        On 17.07.2015 13:01, monika bansal wrote:
        Hii

        I understood how to create new module and block within this
        new module using gr-modtool from
        http://gnuradio.org/redmine/projects/gnuradio/wiki/OutOfTreeModules.
        I want to add new block in the existing module. How can i do
        that ?


        _______________________________________________
        Discuss-gnuradio mailing list
        Discuss-gnuradio@gnu.org  <mailto:Discuss-gnuradio@gnu.org>
        https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


        _______________________________________________
        Discuss-gnuradio mailing list
        Discuss-gnuradio@gnu.org <mailto:Discuss-gnuradio@gnu.org>
        https://lists.gnu.org/mailman/listinfo/discuss-gnuradio




_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to