discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Error Running uhd_tx_dpsk.grc and uhd_rx_dpsk.grc


From: chongmin
Subject: Re: [Discuss-gnuradio] Error Running uhd_tx_dpsk.grc and uhd_rx_dpsk.grc
Date: Mon, 16 Jul 2012 22:46:48 -0700 (PDT)

Dear Martin and Josh,

Thank you for your assistance. I realized the error was that I downloaded a
binary which was outdated. After using the build-gnuradio script by Marcus,
the error is no longer there.

Chong Min


chongmin wrote:
> 
> Hi everyone,
> 
> I have just started on GNURadio for an undergraduate project and I would
> require a little assistance.
> 
> I tried to run the dpsk transmitter and receiver examples, found in
> gnuradio/examples/uhd/uhd_rx_dpsk.grc and
> gnuradio/examples/uhd/uhd_tx_dpsk.grc. I am using the N210 USRP with the
> WBX daughterboard and the VERT2450 antenna, with GNURadio version 3.6.0
> running on Ubuntu 12.04 LTS.
> 
> When I run the transmit file, I receive the following error:
> Traceback (most recent call last):
>   File "/tmp/uhd_tx_dpsk.py", line 234, in <module>
>     tb = uhd_tx_dpsk(samp_rate=options.samp_rate, freq=options.freq,
> gain=options.gain, address=options.address)
>   File "/tmp/uhd_tx_dpsk.py", line 150, in __init__
>     log=False)
>   File "/usr/lib/python2.7/dist-packages/gnuradio/digital/qpsk.py", line
> 139, in __init__
>     *args, **kwargs)
> TypeError: __init__() got an unexpected keyword argument 'mod_code'
> 
> When I run the receive file, I receive the following error:
> Traceback (most recent call last):
>   File "/tmp/uhd_rx_dpsk.py", line 327, in <module>
>     tb = uhd_rx_dpsk(samp_rate=options.samp_rate, freq=options.freq,
> gain=options.gain, address=options.address,
> freq_offset=options.freq_offset)
>   File "/tmp/uhd_rx_dpsk.py", line 217, in __init__
>     log=False
>   File "/usr/lib/python2.7/dist-packages/gnuradio/digital/qpsk.py", line
> 165, in __init__
>     *args, **kwargs)
> TypeError: __init__() got an unexpected keyword argument 'mod_code'
> 
> Both errors look similar and have something to do with “mod_code”. Does
> anyone know how to solve it? Also, any suggestions on another GRC
> receive/transmit example I can use to test out my N210 USRP boards? Thank
> you very much!
> 
> Tan Chong Min
> Undergraduate
> National University of Singapore
> 

-- 
View this message in context: 
http://old.nabble.com/Error-Running-uhd_tx_dpsk.grc-and-uhd_rx_dpsk.grc-tp34154704p34171805.html
Sent from the GnuRadio mailing list archive at Nabble.com.




reply via email to

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