[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] Re: debug freezing
From: |
Markus Feldmann |
Subject: |
[Discuss-gnuradio] Re: debug freezing |
Date: |
Tue, 14 Apr 2009 20:41:47 +0200 |
User-agent: |
Mozilla-Thunderbird 2.0.0.19 (X11/20090103) |
Josh Blum schrieb:
feldmaus wrote:
feldmaus <feldmann_markus <at> gmx.de> writes:
Hi All,
i still read in the gnuradio documentation, that we can prevent
freezing graphical elements by inserting the throttle element before,
but how can i locate which element is freezed ?
Is there any hlp in <grc> or python modules which can be used for
tuning/debugging ?
I inserted for every element a throttle, but this doesn't help me out.
Usually, you only need one throttle per flow graph (anywhere in the flow
graph) when there are no usrp or audio blocks present.
I am unsure about the peak hold.
Are the gui elements freezing as in: the buttons/controls do not
respond, or freezing as in the waveform has stopped updating on the screen?
-Josh
Hi and thanks for your response,
i am using a usrp-source and a fft-sink and peakdetect+scope-sink.
only the screen with the wave form freezes, the buttons of the scope
and the fft sink are not freezing. This seems to appear mostly when
there are many peaks i think, but i can not attest this.
The only think i change before it freezes is the Signal frequency
of my signal generator, which sends data to the LF-RX db.
Regards Markus
<?xml version='1.0' encoding='ASCII'?>
<flow_graph>
<timestamp>Tue Apr 14 16:30:25 2009</timestamp>
<block>
<key>variable_slider</key>
<param>
<key>id</key>
<value>freq</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>label</key>
<value>frequency</value>
</param>
<param>
<key>value</key>
<value>1e6</value>
</param>
<param>
<key>min</key>
<value>1e6</value>
</param>
<param>
<key>max</key>
<value>11e6</value>
</param>
<param>
<key>num_steps</key>
<value>290</value>
</param>
<param>
<key>slider_length</key>
<value>400</value>
</param>
<param>
<key>slider_type</key>
<value>horizontal</value>
</param>
<param>
<key>grid_pos</key>
<value></value>
</param>
<param>
<key>_coordinate</key>
<value>(13, 511)</value>
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
</block>
<block>
<key>variable_slider</key>
<param>
<key>id</key>
<value>gain_usrp_source</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>label</key>
<value>Gain Usrp Source</value>
</param>
<param>
<key>value</key>
<value>0</value>
</param>
<param>
<key>min</key>
<value>0</value>
</param>
<param>
<key>max</key>
<value>20</value>
</param>
<param>
<key>num_steps</key>
<value>100</value>
</param>
<param>
<key>slider_length</key>
<value>200</value>
</param>
<param>
<key>slider_type</key>
<value>vertical</value>
</param>
<param>
<key>grid_pos</key>
<value>4, 1, 2, 1</value>
</param>
<param>
<key>_coordinate</key>
<value>(151, 499)</value>
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
</block>
<block>
<key>variable</key>
<param>
<key>id</key>
<value>samp_rate</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>value</key>
<value>64e6/decim</value>
</param>
<param>
<key>_coordinate</key>
<value>(30, 703)</value>
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
</block>
<block>
<key>variable</key>
<param>
<key>id</key>
<value>decim</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>value</key>
<value>256</value>
</param>
<param>
<key>_coordinate</key>
<value>(35, 632)</value>
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
</block>
<block>
<key>gr_peak_detector2_fb</key>
<param>
<key>id</key>
<value>gr_peak_detector2_fb_0</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>type</key>
<value>float</value>
</param>
<param>
<key>threshold_factor_rise</key>
<value>0.5</value>
</param>
<param>
<key>look_ahead</key>
<value>2</value>
</param>
<param>
<key>alpha</key>
<value>1</value>
</param>
<param>
<key>_coordinate</key>
<value>(410, 27)</value>
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
</block>
<block>
<key>gr_char_to_float</key>
<param>
<key>id</key>
<value>gr_char_to_float_0</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>_coordinate</key>
<value>(694, 51)</value>
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
</block>
<block>
<key>gr_throttle</key>
<param>
<key>id</key>
<value>gr_throttle_0</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>type</key>
<value>float</value>
</param>
<param>
<key>samples_per_second</key>
<value>samp_rate</value>
</param>
<param>
<key>vlen</key>
<value>1</value>
</param>
<param>
<key>_coordinate</key>
<value>(934, 126)</value>
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
</block>
<block>
<key>gr_complex_to_real</key>
<param>
<key>id</key>
<value>gr_complex_to_real_0</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>vlen</key>
<value>1</value>
</param>
<param>
<key>_coordinate</key>
<value>(192, 240)</value>
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
</block>
<block>
<key>gr_throttle</key>
<param>
<key>id</key>
<value>gr_throttle_0_0</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>type</key>
<value>float</value>
</param>
<param>
<key>samples_per_second</key>
<value>samp_rate</value>
</param>
<param>
<key>vlen</key>
<value>1</value>
</param>
<param>
<key>_coordinate</key>
<value>(938, 237)</value>
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
</block>
<block>
<key>wxgui_fftsink2</key>
<param>
<key>id</key>
<value>wxgui_fftsink2</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>type</key>
<value>complex</value>
</param>
<param>
<key>title</key>
<value>FFT Plot</value>
</param>
<param>
<key>samp_rate</key>
<value>64e6/decim</value>
</param>
<param>
<key>baseband_freq</key>
<value>freq</value>
</param>
<param>
<key>y_per_div</key>
<value>10</value>
</param>
<param>
<key>y_divs</key>
<value>8</value>
</param>
<param>
<key>ref_level</key>
<value>70</value>
</param>
<param>
<key>fft_size</key>
<value>512*2</value>
</param>
<param>
<key>fft_rate</key>
<value>20</value>
</param>
<param>
<key>avg_alpha</key>
<value>0</value>
</param>
<param>
<key>average</key>
<value>True</value>
</param>
<param>
<key>peak_hold</key>
<value>False</value>
</param>
<param>
<key>grid_pos</key>
<value></value>
</param>
<param>
<key>_coordinate</key>
<value>(556, 321)</value>
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
</block>
<block>
<key>usrp_simple_source_x</key>
<param>
<key>id</key>
<value>usrp_simple_source_x</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>type</key>
<value>complex</value>
</param>
<param>
<key>format</key>
<value></value>
</param>
<param>
<key>which</key>
<value>0</value>
</param>
<param>
<key>decimation</key>
<value>decim</value>
</param>
<param>
<key>frequency</key>
<value>freq</value>
</param>
<param>
<key>gain</key>
<value>gain_usrp_source</value>
</param>
<param>
<key>side</key>
<value>B</value>
</param>
<param>
<key>rx_ant</key>
<value>RXA</value>
</param>
<param>
<key>hb_filters</key>
<value></value>
</param>
<param>
<key>_coordinate</key>
<value>(2, 274)</value>
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
</block>
<block>
<key>gr_throttle</key>
<param>
<key>id</key>
<value>gr_throttle_1</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>type</key>
<value>complex</value>
</param>
<param>
<key>samples_per_second</key>
<value>samp_rate</value>
</param>
<param>
<key>vlen</key>
<value>1</value>
</param>
<param>
<key>_coordinate</key>
<value>(364, 391)</value>
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
</block>
<block>
<key>options</key>
<param>
<key>id</key>
<value>peakdetector_LF_RX_7</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>title</key>
<value>USRP Peakdetector Test</value>
</param>
<param>
<key>author</key>
<value>Example</value>
</param>
<param>
<key>description</key>
<value>Tests to analyse how the Peak Detector works.</value>
</param>
<param>
<key>window_size</key>
<value>1280, 1024</value>
</param>
<param>
<key>generate_options</key>
<value>wx_gui</value>
</param>
<param>
<key>category</key>
<value>Custom</value>
</param>
<param>
<key>realtime_scheduling</key>
<value></value>
</param>
<param>
<key>_coordinate</key>
<value>(10, 10)</value>
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
</block>
<block>
<key>wxgui_scopesink2</key>
<param>
<key>id</key>
<value>wxgui_scopesink2_0</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>type</key>
<value>float</value>
</param>
<param>
<key>title</key>
<value>Scope Plot after Peak Detector</value>
</param>
<param>
<key>samp_rate</key>
<value>samp_rate</value>
</param>
<param>
<key>frame_decim</key>
<value>1</value>
</param>
<param>
<key>v_scale</key>
<value>0</value>
</param>
<param>
<key>t_scale</key>
<value>25e-6</value>
</param>
<param>
<key>marker</key>
<value>set_format_line</value>
</param>
<param>
<key>num_inputs</key>
<value>2</value>
</param>
<param>
<key>grid_pos</key>
<value></value>
</param>
<param>
<key>_coordinate</key>
<value>(1142, 186)</value>
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
</block>
<connection>
<source_block_id>usrp_simple_source_x</source_block_id>
<sink_block_id>gr_complex_to_real_0</sink_block_id>
<source_key>0</source_key>
<sink_key>0</sink_key>
</connection>
<connection>
<source_block_id>gr_peak_detector2_fb_0</source_block_id>
<sink_block_id>gr_char_to_float_0</sink_block_id>
<source_key>0</source_key>
<sink_key>0</sink_key>
</connection>
<connection>
<source_block_id>gr_complex_to_real_0</source_block_id>
<sink_block_id>gr_peak_detector2_fb_0</sink_block_id>
<source_key>0</source_key>
<sink_key>0</sink_key>
</connection>
<connection>
<source_block_id>gr_char_to_float_0</source_block_id>
<sink_block_id>gr_throttle_0</sink_block_id>
<source_key>0</source_key>
<sink_key>0</sink_key>
</connection>
<connection>
<source_block_id>gr_throttle_0</source_block_id>
<sink_block_id>wxgui_scopesink2_0</sink_block_id>
<source_key>0</source_key>
<sink_key>0</sink_key>
</connection>
<connection>
<source_block_id>gr_complex_to_real_0</source_block_id>
<sink_block_id>gr_throttle_0_0</sink_block_id>
<source_key>0</source_key>
<sink_key>0</sink_key>
</connection>
<connection>
<source_block_id>gr_throttle_0_0</source_block_id>
<sink_block_id>wxgui_scopesink2_0</sink_block_id>
<source_key>0</source_key>
<sink_key>1</sink_key>
</connection>
<connection>
<source_block_id>gr_throttle_1</source_block_id>
<sink_block_id>wxgui_fftsink2</sink_block_id>
<source_key>0</source_key>
<sink_key>0</sink_key>
</connection>
<connection>
<source_block_id>usrp_simple_source_x</source_block_id>
<sink_block_id>gr_throttle_1</sink_block_id>
<source_key>0</source_key>
<sink_key>0</sink_key>
</connection>
</flow_graph>
- [Discuss-gnuradio] debug freezing, feldmaus, 2009/04/14
- [Discuss-gnuradio] Re: debug freezing, feldmaus, 2009/04/14
- [Discuss-gnuradio] Re: debug freezing, feldmaus, 2009/04/17
- Re: [Discuss-gnuradio] Re: debug freezing, Josh Blum, 2009/04/17
- [Discuss-gnuradio] Re: debug freezing, feldmaus, 2009/04/17
- Re: [Discuss-gnuradio] Re: debug freezing, Josh Blum, 2009/04/17