discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] How to register mods/demods


From: Kyle Zhou
Subject: Re: [Discuss-gnuradio] How to register mods/demods
Date: Thu, 16 Dec 2010 09:50:57 +1100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7

On 16/12/2010 5:23 AM, Ben Reynwar wrote:
When the file in which you define you mod/demod is imported the
mod/demod will the registered so it's just a case of making sure it
gets imported somewhere.

The mod/demods that come with gnuradio are registered when
gnuradio.blks2 is imported.  This doesn't happen explicitly in
benchmark_tx.py so presumably one of the modules the benchmark imports
imports blks2.

To make sure your mod/demods get registered the easiest way would be
to import the file where you define them directly into
benchmark_tx.py.  Alternately you could place the file in the
blks2impl directory (and the Makefile.am there) so that they will be
imported with the ones that come with gnuradio.

Ben


Thanks Ben for your detailed explanation.
Yes, transmit_path.py and receive_path.py import blks2, which imports everything under blks2impl directory.
Well, I think I will import my mod/demod directly in my top_block.
Thanks again
Kyle



reply via email to

[Prev in Thread] Current Thread [Next in Thread]