|
From: | Josh Blum |
Subject: | Re: [Discuss-gnuradio] Re: debug freezing |
Date: | Thu, 07 May 2009 11:40:56 -0700 |
User-agent: | Thunderbird 2.0.0.21 (X11/20090409) |
Markus,I really believe that the gui is not freezing. What you see is a result of the fact the the peak detect outputs a binary 1 or 0 signal.
Connect the peak detect to a char_to_float block, and then to a numbersink. Setup the numbersink for a min of 0 and a max of 1. The numbersink will clearly show what state the peak detector is in. Make sure to include a throttle somewhere.
Take a look at the source code for peak detect, perhaps the comments, or the implementation can help you to figure out what the parameters like threshold or alpha mean. Also, add a few printfs to the work method, to verify what the block is outputting, and if its really freezing/stopped working.
Hope that helps. -Josh
[Prev in Thread] | Current Thread | [Next in Thread] |