|
From: | Tom Rondeau |
Subject: | Re: [Discuss-gnuradio] Trace mpsk_receiver_cc() |
Date: | Wed, 04 Jun 2008 11:14:06 +0100 |
User-agent: | Thunderbird 2.0.0.14 (Windows/20080421) |
irene159 wrote:
OK, so far I have been able to call gr.mpsk_receiver_cc.freq() from dqpsk.py even if I haven't found were it is coded. print "NCO frequency : %f" % self.receiver.freq() My purpose is to study mpsk_receiver_cc Costas loop features and I would like to get Costas loop NCO frequency value for each circle in the loop. But how can I do this?
You'll probably want to do this inside gr_mpsk_receiver.cc instead of calling the freq() function if you want to get a report of the value for every iteration of the loop.
The frequency value (d_freq) is update in: *gr_mpsk_receiver_cc::phase_error_trackingYou can also turn on verbose mode by setting VERBOST_COSTAS to 1 at the top of gr_mpsk_receiver.cc and recompiling/installing. This pumps out a lot of info on the current state of the loop.
Tom *
[Prev in Thread] | Current Thread | [Next in Thread] |