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

2010-12-15 Thread Tom Rondeau
On Wed, Dec 15, 2010 at 5:50 PM, Kyle Zhou wrote: > 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

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

2010-12-15 Thread Kyle Zhou
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 does

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

2010-12-15 Thread Ben Reynwar
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

[Discuss-gnuradio] How to register mods/demods

2010-12-14 Thread Kyle Zhou
I am writing a custom modulator/demodulator and wanna add them to the modulation_utils, such that modulation_utils.type_1_mods() will include the custom made mod/demod. However, I could not figure out how to do that. I notice mods/demods have something like modulation_utils.add_type_1_mod('dbp