discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] Error in "Constellation Decoder" block


From: Azza Ben Mosbah
Subject: [Discuss-gnuradio] Error in "Constellation Decoder" block
Date: Tue, 4 Mar 2014 16:17:18 -0500

Hi All,

I am manipulating GNU Radio Companion.
While using the "Constellation Decoder" block, I have put digital.constellation_qpsk as a "Constellation Object" argument. But, I have found an error when I have executed the flow graph:

Traceback (most recent call last):
  File "/users/anb10/metrics/error_rate.py", line 342, in <module>
    tb = error_rate()
  File "/users/anb10/metrics/error_rate.py", line 225, in __init__
    self.digital_constellation_decoder_cb_0 = digital.constellation_decoder_cb(digital.constellation_qpsk)
  File "/usr/lib64/python2.6/site-packages/gnuradio/digital/digital_swig.py", line 3096, 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'

I don't know what went wrong. I have even tried digital.psk.psk_constellation(m=4,mod_code='gray'), digital.constellation_8psk and digital.psk.psk_constellation(m=8,mod_code='gray') as a "Constellation Object" argument.

So, what is the proper way to define the argument (Constellation Object) in the "Constellation Decoder" block?

I hope you can give me some ideas. Any help is appreciated. Thank you.

Regards,
Azza

reply via email to

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