# Help on blks2.ofdm\_mod

**URL:** <https://www.ruby-forum.com/t/help-on-blks2-ofdm-mod/217957>\
**Category:** GNU Radio\
**Created:** [March 17, 2012, 8:22am UTC](https://www.ruby-forum.com/t/help-on-blks2-ofdm-mod/217957 "2012-03-17T08:22:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [March 17, 2012, 8:22am UTC](https://www.ruby-forum.com/t/help-on-blks2-ofdm-mod/217957/1 "2012-03-17T08:22:20Z")

</div>

hi all,

Im interested in making the ofdm program in python and im facing  
problem in the input arguements of the blks2.ofdm\_mod. I tried to find  
that in the net but cant find it satisfactorily. can any one help me  
out in this.

Thanx for ur time

Regards,  
Ebtisam

---

<div class="post-metadata">

**Author:** ![Ebtisam\_Ahmed](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/a88e57/32.png) [@Ebtisam\_Ahmed](https://www.ruby-forum.com/u/Ebtisam_Ahmed)\
**Post date:** [March 18, 2012, 6:05pm UTC](https://www.ruby-forum.com/t/help-on-blks2-ofdm-mod/217957/2 "2012-03-18T18:05:16Z")

</div>

On Sat, Mar 17, 2012 at 12:21 AM, Ebtisam Ahmed  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Ebtisam
> 
> * * *
> 
> Discuss-gnuradio mailing list  
> [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> [Discuss-gnuradio Info Page](https://lists.gnu.org/mailman/listinfo/discuss-gnuradio)

Looking at the source code is currently the easiest solution.

If you know where the source code is and you’re on a unix system you  
could go to the source directory and do a:  
grep -r “ofdm\_mod” .  
to try to find the file where it is defined.  
This might even turn up some example files where the block is used.

If you don’t where the source is, then you can find where the python  
source is installed using python by:

> > import gnuradio  
> > gnuradio. **file**

Finally, yes, it would be nice to be able to get this information  
without diving into the source code, and we’re working on that.

Cheers,  
Ben

---

<div class="post-metadata">

**Author:** ![Ebtisam\_Ahmed](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/a88e57/32.png) [@Ebtisam\_Ahmed](https://www.ruby-forum.com/u/Ebtisam_Ahmed)\
**Post date:** [March 18, 2012, 7:12pm UTC](https://www.ruby-forum.com/t/help-on-blks2-ofdm-mod/217957/3 "2012-03-18T19:12:32Z")

</div>

Hi Ebtisam,

Are you using the code for USRP1? The current USRP2 ofdm\_mod function  
source code is in the gnuradio/gr-digital/python/ofdm.py, if I am right.

On Sat, Mar 17, 2012 at 2:21 AM, Ebtisam Ahmed  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)wrote:

> Ebtisam
> 
> * * *
> 
> Discuss-gnuradio mailing list  
> [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> [Discuss-gnuradio Info Page](https://lists.gnu.org/mailman/listinfo/discuss-gnuradio)

–

Alex,  
_Dreams can come true just believe._
