discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] How to use constellation decoder


From: Nathan West
Subject: Re: [Discuss-gnuradio] How to use constellation decoder
Date: Tue, 25 Jun 2013 17:14:13 -0400

On Tue, Jun 25, 2013 at 3:44 PM, Stephen Harrison
<address@hidden> wrote:
> Hi,
>
> I am struggling to use the constellation decoder. I saw this post, but it
> does not work for me.
>
> http://gnuradio.4.n7.nabble.com/Constellation-Decoder-GRC-Help-td36508.html#a34137043
>
>>>> from gnuradio import digital
>>>> digital.constellation_decoder_cb(digital.constellation_bpsk())
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File
> "/usr/local/lib/python2.7/dist-packages/gnuradio/digital/digital_swig.py",
> line 4864, in constellation_decoder_cb
>     return _digital_swig.constellation_decoder_cb(*args, **kwargs)
> TypeError: in method 'constellation_decoder_cb', argument 1 of type
> 'digital_constellation_sptr'
>
> Any help would be appreciated, I am using GNURadio 3.6.5.
>
> Regards,
>
> Stephen
>

Try this

python> from gnuradio import digital
python> digital.constellation_decoder_cb(digital.constellation_bpsk().base() )

The base method returns the digital_constellation_sptr that
constellation_decoder_cb is expecting.

-Nathan



reply via email to

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