On Tue, Jun 25, 2013 at 3:44 PM, Stephen Harrison <msteveharri...@gmail.com> 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 _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio