# Frequency Hopping Transmission with USRP N210 : Query

**URL:** <https://www.ruby-forum.com/t/frequency-hopping-transmission-with-usrp-n210-query/234139>\
**Category:** GNU Radio\
**Created:** [February 9, 2015, 5:56pm UTC](https://www.ruby-forum.com/t/frequency-hopping-transmission-with-usrp-n210-query/234139 "2015-02-09T17:56:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![addis\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c4cdca/32.png) [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Post date:** [February 9, 2015, 5:56pm UTC](https://www.ruby-forum.com/t/frequency-hopping-transmission-with-usrp-n210-query/234139/1 "2015-02-09T17:56:18Z")

</div>

Hi All,

I have a USRP N210 with RFX2400 2.3-2.9 Ghz RX/TX. I have recorded a  
trace  
at 2.41 GHz and stored it to a file filename.dat. I want to transmit the  
same trace at 2.415, 2.420, 2.425 so on till 2.440.

So, I used the freq\_hopping.py python utility under the python examples  
folder in gnuradio.

I give the command python freq\_hopping -i my file.dat & its path -f  
2410000000 -t 10 --antenna TX/RX -B 2 -v -c 5 -d 5000000

However when I run it I get ‘Namespace’ object has no attribute  
‘filename’  
Error. I am running python version 2.7.6 , I also checked the python  
file  
and verified whether I am giving all the attributes correctly.

What may be the problem here ? any help is appreciated.

-Vaibhav

---

<div class="post-metadata">

**Author:** ![vaibhav\_kulkarni](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/5fc32e/32.png) [@vaibhav\_kulkarni](https://www.ruby-forum.com/u/vaibhav_kulkarni)\
**Post date:** [February 9, 2015, 9:09pm UTC](https://www.ruby-forum.com/t/frequency-hopping-transmission-with-usrp-n210-query/234139/2 "2015-02-09T21:09:35Z")

</div>

On 02/09/2015 05:55 PM, vaibhav kulkarni wrote:

> 2410000000 -t 10 --antenna TX/RX -B 2 -v -c 5 -d 5000000
> 
> However when I run it I get ‘Namespace’ object has no attribute  
> ‘filename’ Error. I am running python version 2.7.6 , I also checked the  
> python file and verified whether I am giving all the attributes correctly.

Yeah, you found a bug. Congrats!

Do you want to fix it? You probably just need to rename options.filename  
to options.input\_file on line 146.

See our contributor guide on how to proceed from there.

Cheers,  
M
