IChar Decimator
Adapted from GNU Radio's own example (gr-filter/examples/test_ichar_decim.grc).
- Category Filters
- Blocks 11
- Connections 9
- File
filter/ichar_decimator.grc
Blocks used
| Block | Module | Used |
|---|---|---|
| Complex To IChar | GNU Radio | 2 |
| IChar To Complex | GNU Radio | 2 |
| Variable | GNU Radio | 2 |
| Interleaved Stream Decimator | GNU Radio | 1 |
| QT GUI Frequency Sink | GNU Radio | 1 |
| Rational Resampler | GNU Radio | 1 |
| Signal Source | GNU Radio | 1 |
| Throttle | GNU Radio | 1 |
Flowgraph source
filter/ichar_decimator.grc
options:
parameters:
author: ''
catch_exceptions: 'True'
category: '[GRC Hier Blocks]'
cmake_opt: ''
comment: ''
copyright: ''
description: Adapted from GNU Radio's own example (gr-filter/examples/test_ichar_decim.grc).
gen_cmake: 'On'
gen_linking: dynamic
generate_options: qt_gui
hier_block_src_path: '.:'
id: test_ichar_decim
max_nouts: '0'
output_language: python
placement: (0,0)
qt_qss_theme: ''
realtime_scheduling: ''
run: 'True'
run_command: '{python} -u {filename}'
run_options: prompt
sizing_mode: fixed
thread_safe_setters: ''
title: IChar Decimator
window_size: (1000,1000)
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [10, 10]
rotation: 0
state: enabled
blocks:
- name: analog_sig_source_x_0
id: analog_sig_source_x
parameters:
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
offset: '0'
phase: '0'
samp_rate: samp_rate
showports: 'False'
type: complex
waveform: analog.GR_COS_WAVE
frequency: '1000'
amplitude: '127'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [10, 130]
rotation: 0
state: true
- name: blocks_complex_to_interleaved_char_0
id: blocks_complex_to_interleaved_char
parameters:
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
scale_factor: '1.0'
vector_output: 'False'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [630, 150]
rotation: 0
state: true
- name: blocks_complex_to_interleaved_char_0_0
id: blocks_complex_to_interleaved_char
parameters:
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
scale_factor: '1.0'
vector_output: 'False'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [950, 270]
rotation: 0
state: true
- name: blocks_interleaved_char_to_complex_0
id: blocks_interleaved_char_to_complex
parameters:
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
scale_factor: '1.0'
vector_input: 'False'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [1380, 150]
rotation: 0
state: true
- name: blocks_interleaved_char_to_complex_0_0
id: blocks_interleaved_char_to_complex
parameters:
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
scale_factor: '1.0'
vector_input: 'False'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [1380, 270]
rotation: 0
state: true
- name: blocks_throttle2_0
id: blocks_throttle2
parameters:
affinity: ''
alias: ''
comment: ''
ignoretag: 'True'
limit: auto
maximum: '0.1'
maxoutbuf: '0'
minoutbuf: '0'
samples_per_second: samp_rate
type: complex
vlen: '1'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [300, 130]
rotation: 0
state: enabled
- name: decim
id: variable
parameters:
comment: ''
value: '5'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [590, 10]
rotation: 0
state: true
- name: ival_decimator_0
id: ival_decimator
parameters:
affinity: ''
alias: ''
comment: ''
datatype: byte
decimation: decim
maxoutbuf: '0'
minoutbuf: '0'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [950, 150]
rotation: 0
state: true
- name: qtgui_freq_sink_x_0
id: qtgui_freq_sink_x
parameters:
affinity: ''
alias: ''
alpha1: '1.0'
alpha10: '1.0'
alpha2: '1.0'
alpha3: '1.0'
alpha4: '1.0'
alpha5: '1.0'
alpha6: '1.0'
alpha7: '1.0'
alpha8: '1.0'
alpha9: '1.0'
autoscale: 'False'
average: '1.0'
axislabels: 'True'
color1: '"blue"'
color10: '"dark blue"'
color2: '"red"'
color3: '"green"'
color4: '"black"'
color5: '"cyan"'
color6: '"magenta"'
color7: '"yellow"'
color8: '"dark red"'
color9: '"dark green"'
comment: ''
ctrlpanel: 'False'
fc: '0'
fftsize: '1024'
freqhalf: 'True'
grid: 'False'
gui_hint: ''
label: Relative Gain
label1: Resampler
label10: ''''''
label2: ichar decim
label3: ''''''
label4: ''''''
label5: ''''''
label6: ''''''
label7: ''''''
label8: ''''''
label9: ''''''
legend: 'True'
maxoutbuf: '0'
minoutbuf: '0'
name: '""'
nconnections: '2'
norm_window: 'False'
showports: 'False'
tr_chan: '0'
tr_level: '0.0'
tr_mode: qtgui.TRIG_MODE_FREE
tr_tag: '""'
type: complex
units: dB
update_time: '0.10'
width1: '1'
width10: '1'
width2: '1'
width3: '1'
width4: '1'
width5: '1'
width6: '1'
width7: '1'
width8: '1'
width9: '1'
wintype: window.WIN_BLACKMAN_hARRIS
ymax: '40'
ymin: '-120'
samp_rate: samp_rate/decim
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [90, 410]
rotation: 0
state: true
- name: rational_resampler_xxx_0
id: rational_resampler_xxx
parameters:
affinity: ''
alias: ''
comment: ''
decim: decim
fbw: '0'
interp: '1'
maxoutbuf: '0'
minoutbuf: '0'
taps: '[]'
type: ccc
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [630, 250]
rotation: 0
state: true
- name: samp_rate
id: variable
parameters:
comment: ''
value: '500000'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [760, 10]
rotation: 0
state: enabled
connections:
- [analog_sig_source_x_0, '0', blocks_throttle2_0, '0']
- [blocks_complex_to_interleaved_char_0, '0', ival_decimator_0, '0']
- [blocks_complex_to_interleaved_char_0_0, '0', blocks_interleaved_char_to_complex_0_0, '0']
- [blocks_interleaved_char_to_complex_0, '0', qtgui_freq_sink_x_0, '1']
- [blocks_interleaved_char_to_complex_0_0, '0', qtgui_freq_sink_x_0, '0']
- [blocks_throttle2_0, '0', blocks_complex_to_interleaved_char_0, '0']
- [blocks_throttle2_0, '0', rational_resampler_xxx_0, '0']
- [ival_decimator_0, '0', blocks_interleaved_char_to_complex_0, '0']
- [rational_resampler_xxx_0, '0', blocks_complex_to_interleaved_char_0_0, '0']
metadata:
file_format: 1
grc_version: 3.10.10.0