Hello, I am working on demodulating a BPSK signal (a manchester coded stream of pseudorandom bits.) I'd like to use a gr_costas_loop_cc block to recover the carrier. However, when I try to create the block with all five args (alpha, beta, max_freq, min_freq, and ref_phase) as floats, python returns the following:
" TypeError: argument number 5: a 'long' is expected, 'float(0.1)' is received " where 0.1 is the value assigned to ref_phase, the fifth parameter. If I make ref_phase=0, then the error returned by python is: " RuntimeError: std::invalid_argument " In both cases, error appears to originate from costas_loop_cc in gnuradio_swig_python.py. Source code for gr_costas_loop_cc indicates that it definately wants all floats, so why is expecting a long for the fifth parameter? Any feedback on this would be greatly appreciated! Best regards, Jon -- This message was sent on behalf of [EMAIL PROTECTED] at openSubscriber.com http://www.opensubscriber.com/messages/[email protected]/topic.html _______________________________________________ Discuss-gnuradio mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
