X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=gnuradio-examples%2Fgrc%2Fsimple%2Fvar_sink_taps.grc;fp=gnuradio-examples%2Fgrc%2Fsimple%2Fvar_sink_taps.grc;h=07207850ee3dcdd85250669ec32ad638a17cc593;hb=8a9ddbb0675f9bfcc6e03b457fba6c79474a3693;hp=0000000000000000000000000000000000000000;hpb=82d471b9b4a8b389b5da44b19c69c36420828382;p=debian%2Fgnuradio diff --git a/gnuradio-examples/grc/simple/var_sink_taps.grc b/gnuradio-examples/grc/simple/var_sink_taps.grc new file mode 100644 index 00000000..07207850 --- /dev/null +++ b/gnuradio-examples/grc/simple/var_sink_taps.grc @@ -0,0 +1,488 @@ + + + Tue May 19 16:45:51 2009 + + options + + id + var_sink_taps + + + _enabled + True + + + title + Variable Sink + Taps + + + author + Example + + + description + gnuradio flow graph + + + window_size + 1280, 1024 + + + generate_options + wx_gui + + + category + Custom + + + realtime_scheduling + + + + _coordinate + (10, 10) + + + _rotation + 0 + + + + gr_noise_source_x + + id + gr_noise_source_x_0 + + + _enabled + True + + + type + complex + + + noise_type + gr.GR_GAUSSIAN + + + amp + 1 + + + seed + 42 + + + _coordinate + (619, 36) + + + _rotation + 0 + + + + gr_fir_filter_xxx + + id + gr_fir_filter_xxx_0 + + + _enabled + True + + + type + ccc + + + decim + 1 + + + taps + dest_taps + + + _coordinate + (831, 47) + + + _rotation + 0 + + + + gr_throttle + + id + gr_throttle_0 + + + _enabled + True + + + type + complex + + + samples_per_second + samp_rate + + + vlen + 1 + + + _coordinate + (999, 198) + + + _rotation + 270 + + + + wxgui_fftsink2 + + id + wxgui_fftsink2_0 + + + _enabled + True + + + type + complex + + + title + FFT Plot + + + samp_rate + samp_rate + + + baseband_freq + 0 + + + y_per_div + 10 + + + y_divs + 10 + + + ref_level + 50 + + + fft_size + 1024 + + + fft_rate + 30 + + + peak_hold + False + + + average + False + + + avg_alpha + 0 + + + grid_pos + + + + _coordinate + (629, 184) + + + _rotation + 180 + + + + import + + id + import_0 + + + _enabled + True + + + import + from gnuradio.gr import firdes + + + _coordinate + (330, 120) + + + _rotation + 0 + + + + variable + + id + dest_taps + + + _enabled + True + + + value + [0] + + + _coordinate + (836, 223) + + + _rotation + 0 + + + + variable + + id + samp_rate + + + _enabled + True + + + value + 32000 + + + _coordinate + (831, 130) + + + _rotation + 0 + + + + variable + + id + source_taps + + + _enabled + True + + + value + firdes.low_pass(1, samp_rate, 4000, 2000) + + + _coordinate + (397, 191) + + + _rotation + 0 + + + + variable + + id + taps_rate + + + _enabled + True + + + value + 10 + + + _coordinate + (268, 189) + + + _rotation + 0 + + + + gr_vector_source_x + + id + gr_vector_source_x_0 + + + _enabled + True + + + type + complex + + + vector + source_taps + + + repeat + True + + + vlen + len(source_taps) + + + _coordinate + (205, 33) + + + _rotation + 0 + + + + note + + id + note_0 + + + _enabled + True + + + note + Pass the FIR taps via a variable sink. + + + _coordinate + (14, 141) + + + _rotation + 0 + + + + gr_throttle + + id + gr_throttle + + + _enabled + True + + + type + complex + + + samples_per_second + taps_rate + + + vlen + len(source_taps) + + + _coordinate + (440, 41) + + + _rotation + 0 + + + + blks2_variable_sink_x + + id + blks2_variable_sink_x_0 + + + _enabled + True + + + type + complex + + + variable + dest_taps + + + decim + 1 + + + vlen + len(source_taps) + + + _coordinate + (305, 283) + + + _rotation + 180 + + + + gr_noise_source_x_0 + gr_fir_filter_xxx_0 + 0 + 0 + + + gr_fir_filter_xxx_0 + gr_throttle_0 + 0 + 0 + + + gr_throttle_0 + wxgui_fftsink2_0 + 0 + 0 + + + gr_vector_source_x_0 + gr_throttle + 0 + 0 + + + gr_throttle + blks2_variable_sink_x_0 + 0 + 0 + +