[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Re: change variables in the FFT Plot the 2.
From: |
Josh Blum |
Subject: |
Re: [Discuss-gnuradio] Re: change variables in the FFT Plot the 2. |
Date: |
Wed, 25 Feb 2009 10:06:32 -0800 |
User-agent: |
Thunderbird 2.0.0.19 (X11/20090105) |
Using GRC, I just tested changing the sample rate of the fftsink. I
tested this for the gl and non gl version. The x-axis markers move and
change correctly when I move the slider for sample rate. The
flowgraph.grc is attached.
I do not understand why you have the problem? Do you have the latest
gnuradio trunk installed? http://gnuradio.org/svn/gnuradio/trunk
-----------
Also, I am concerned that the gl fftsink aborted/segfaulted. Can you run
the flow graph in gdb and send the traceback?
-Josh
<?xml version='1.0' encoding='ASCII'?>
<flow_graph>
<timestamp>Thu Feb 5 16:02:47 2009</timestamp>
<block>
<key>options</key>
<param>
<key>id</key>
<value>options</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>title</key>
<value>FFT Test</value>
</param>
<param>
<key>author</key>
<value>unknown</value>
</param>
<param>
<key>description</key>
<value>untitled flow graph</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>(20, 20)</value>
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
</block>
<block>
<key>gr_noise_source_x</key>
<param>
<key>id</key>
<value>gr_noise_source_x</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>type</key>
<value>complex</value>
</param>
<param>
<key>noise_type</key>
<value>gr.GR_GAUSSIAN</value>
</param>
<param>
<key>amp</key>
<value>.1</value>
</param>
<param>
<key>seed</key>
<value>42</value>
</param>
<param>
<key>_coordinate</key>
<value>(409, 323)</value>
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
</block>
<block>
<key>variable_slider</key>
<param>
<key>id</key>
<value>samp_rate</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>label</key>
<value></value>
</param>
<param>
<key>value</key>
<value>32000</value>
</param>
<param>
<key>min</key>
<value>0</value>
</param>
<param>
<key>max</key>
<value>32000</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>horizontal</value>
</param>
<param>
<key>grid_pos</key>
<value></value>
</param>
<param>
<key>_coordinate</key>
<value>(91, 237)</value>
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
</block>
<block>
<key>gr_sig_source_x</key>
<param>
<key>id</key>
<value>gr_sig_source_x</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>type</key>
<value>complex</value>
</param>
<param>
<key>samp_rate</key>
<value>samp_rate</value>
</param>
<param>
<key>waveform</key>
<value>gr.GR_COS_WAVE</value>
</param>
<param>
<key>freq</key>
<value>1000</value>
</param>
<param>
<key>amp</key>
<value>1</value>
</param>
<param>
<key>offset</key>
<value>0</value>
</param>
<param>
<key>_coordinate</key>
<value>(230, 95)</value>
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
</block>
<block>
<key>gr_add_vxx</key>
<param>
<key>id</key>
<value>gr_add_vxx</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>type</key>
<value>complex</value>
</param>
<param>
<key>num_inputs</key>
<value>2</value>
</param>
<param>
<key>vlen</key>
<value>1</value>
</param>
<param>
<key>_coordinate</key>
<value>(457, 196)</value>
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
</block>
<block>
<key>variable_slider</key>
<param>
<key>id</key>
<value>bb_freq</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>label</key>
<value></value>
</param>
<param>
<key>value</key>
<value>0</value>
</param>
<param>
<key>min</key>
<value>-10e4</value>
</param>
<param>
<key>max</key>
<value>10e4</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>horizontal</value>
</param>
<param>
<key>grid_pos</key>
<value></value>
</param>
<param>
<key>_coordinate</key>
<value>(254, 239)</value>
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
</block>
<block>
<key>gr_throttle</key>
<param>
<key>id</key>
<value>gr_throttle</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>(528, 72)</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>False</value>
</param>
<param>
<key>type</key>
<value>complex</value>
</param>
<param>
<key>title</key>
<value>Scope Plot</value>
</param>
<param>
<key>samp_rate</key>
<value>samp_rate</value>
</param>
<param>
<key>frame_decim</key>
<value>15</value>
</param>
<param>
<key>v_scale</key>
<value>0</value>
</param>
<param>
<key>t_scale</key>
<value>.001</value>
</param>
<param>
<key>marker</key>
<value>set_format_line</value>
</param>
<param>
<key>num_inputs</key>
<value>1</value>
</param>
<param>
<key>grid_pos</key>
<value></value>
</param>
<param>
<key>_coordinate</key>
<value>(692, 296)</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>samp_rate</value>
</param>
<param>
<key>baseband_freq</key>
<value>bb_freq</value>
</param>
<param>
<key>y_per_div</key>
<value>10</value>
</param>
<param>
<key>y_divs</key>
<value>10</value>
</param>
<param>
<key>ref_level</key>
<value>50</value>
</param>
<param>
<key>fft_size</key>
<value>512</value>
</param>
<param>
<key>fft_rate</key>
<value>15</value>
</param>
<param>
<key>avg_alpha</key>
<value>0</value>
</param>
<param>
<key>average</key>
<value>False</value>
</param>
<param>
<key>peak_hold</key>
<value>False</value>
</param>
<param>
<key>grid_pos</key>
<value></value>
</param>
<param>
<key>_coordinate</key>
<value>(706, 47)</value>
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
</block>
<connection>
<source_block_id>gr_throttle</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>gr_sig_source_x</source_block_id>
<sink_block_id>gr_add_vxx</sink_block_id>
<source_key>0</source_key>
<sink_key>0</sink_key>
</connection>
<connection>
<source_block_id>gr_add_vxx</source_block_id>
<sink_block_id>gr_throttle</sink_block_id>
<source_key>0</source_key>
<sink_key>0</sink_key>
</connection>
<connection>
<source_block_id>gr_noise_source_x</source_block_id>
<sink_block_id>gr_add_vxx</sink_block_id>
<source_key>0</source_key>
<sink_key>1</sink_key>
</connection>
<connection>
<source_block_id>gr_throttle</source_block_id>
<sink_block_id>wxgui_scopesink2_0</sink_block_id>
<source_key>0</source_key>
<sink_key>0</sink_key>
</connection>
</flow_graph>
- [Discuss-gnuradio] change variables in the FFT Plot the 2., feldmaus, 2009/02/24
- [Discuss-gnuradio] Re: change variables in the FFT Plot the 2., feldmaus, 2009/02/24
- [Discuss-gnuradio] Re: change variables in the FFT Plot the 2., feldmaus, 2009/02/24
- [Discuss-gnuradio] Re: change variables in the FFT Plot the 2., feldmaus, 2009/02/25
- Re: [Discuss-gnuradio] Re: change variables in the FFT Plot the 2.,
Josh Blum <=
- [Discuss-gnuradio] Re: change variables in the FFT Plot the 2., feldmaus, 2009/02/26
- Re: [Discuss-gnuradio] Re: change variables in the FFT Plot the 2., Josh Blum, 2009/02/26
- Re: [Discuss-gnuradio] Re: change variables in the FFT Plot the 2., Josh Blum, 2009/02/26