[Top][All Lists]

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

[Discuss-gnuradio] Error in usage of digital_constellation_sptr

From: Srinagesh Sharma
Subject: [Discuss-gnuradio] Error in usage of digital_constellation_sptr
Date: Sat, 31 Mar 2012 13:47:13 -0400

Hi all,

I have a block which uses digital_constellation_sptr as an input parameter type. I read the parameter as "raw" data in the xml file. The header file "digital_constellation.h" has been included in both the c++ and the h files of my block. However, when I pass the parameter - digital.constellation_qpsk().base()
I still get the following error:
Using Volk machine: ssse3_64
Traceback (most recent call last):
  File "/home/lupinox/Desktop/radiotests/top_block.py", line 248, in <module>
    tb = top_block()
  File "/home/lupinox/Desktop/radiotests/top_block.py", line 145, in __init__
    self.howto_phase_correction_vcvc_0 = howto.phase_correction_vcvc(2, 4, 90, 0.01, 0.01, 0, digital.constellation_qpsk().base())
  File "/usr/local/lib/python2.7/dist-packages/howto/howto_swig.py", line 557, in phase_correction_vcvc
    return _howto_swig.phase_correction_vcvc(*args, **kwargs)
TypeError: in method 'phase_correction_vcvc', argument 7 of type 'digital_constellation_sptr'

The constellation block has been installed properly, the same argument works perfectly with the lms_dd_equalizer block. Any suggestions as to what could be wrong here?

Thank you,
Srinagesh Sharma
University of Michigan, Ann Arbor

reply via email to

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