discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] how to load my own .rbf bitstream?


From: Eric Blossom
Subject: Re: [Discuss-gnuradio] how to load my own .rbf bitstream?
Date: Mon, 11 Jan 2010 19:26:00 -0800
User-agent: Mutt/1.5.20 (2009-08-17)

On Mon, Jan 11, 2010 at 08:12:26PM -0500, Yan Nie wrote:
> Thank you so much Matt. 
> 
> My own .rbf file is already been copied into /usr/local/share/usrp/rev2 
> directory. 

Copy it into /rev4 also.

> I tried  
> self._u=usrp.sink_s(which=which,fpga_filename='ionosonde_tx_test0106.rbf')
> to load the .rbf file for tx and rx as well. 
> However, I got the error as bellow when I ran the top-level python code. (I'm 
> modifying the python program and FPGA bitstream of gr-sounder in gnuradio.)

> Exception exceptions.AttributeError: "sounder instance has no attribute 
> '_transmitting'" in <bound method sounder.__del__ of 
> <gnuradio.sounder.sounder instance at 0x9e3078c>> ignored
> Traceback (most recent call last):
>   File "./usrp_ionosonde.py", line 115, in <module>
>     main()
>   File "./usrp_ionosonde.py", line 91, in main
>     debug=options.debug,which=options.which)
> TypeError: __init__() got an unexpected keyword argument 'which'

Does your __init__ method have an argument called 'which'?  
It looks from the backtrace that main is passing a keyword argument
named 'which' to some code that doesn't expect one.

Eric




reply via email to

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