Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- parameters:
- author: Barry Duggan
- catch_exceptions: 'True'
- category: '[GRC Hier Blocks]'
- cmake_opt: ''
- comment: ''
- copyright: ''
- description: FSK_example
- gen_cmake: 'On'
- gen_linking: dynamic
- generate_options: qt_gui
- hier_block_src_path: '.:'
- id: FSK_example
- 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: FSK_example
- window_size: (1000,1000)
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [16, 12.0]
- rotation: 0
- state: enabled
- blocks:
- - name: baud
- id: variable
- parameters:
- comment: ''
- value: 1/0.022
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [288, 76.0]
- rotation: 0
- state: enabled
- - name: center
- id: variable
- parameters:
- comment: ''
- value: '2210'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [280, 12.0]
- rotation: 0
- state: enabled
- - name: delay
- id: variable_qtgui_range
- parameters:
- comment: ''
- gui_hint: ''
- label: Delay
- min_len: '200'
- orient: QtCore.Qt.Horizontal
- rangeType: float
- start: '0'
- step: '1'
- stop: '250'
- value: '145'
- widget: counter_slider
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [848, 12.0]
- rotation: 0
- state: enabled
- - name: fsk_deviation
- id: variable
- parameters:
- comment: ''
- value: '170'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [368, 12.0]
- rotation: 0
- state: enabled
- - name: inp_amp
- id: variable
- parameters:
- comment: ''
- value: ((center+(fsk_deviation/2))/vco_max)-vco_offset
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [648, 12.0]
- rotation: 0
- state: true
- - name: repeat
- id: variable
- parameters:
- comment: ''
- value: (int)(samp_rate*0.022)
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [192, 76.0]
- rotation: 0
- state: true
- - name: samp_rate
- id: variable
- parameters:
- comment: ''
- value: '48000'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [192, 12.0]
- rotation: 0
- state: enabled
- - name: sps
- id: variable
- parameters:
- comment: ''
- value: '11'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [384, 76.0]
- rotation: 0
- state: true
- - name: sq_lvl
- id: variable_qtgui_range
- parameters:
- comment: ''
- gui_hint: ''
- label: Squelch
- min_len: '200'
- orient: QtCore.Qt.Horizontal
- rangeType: float
- start: '-100'
- step: '5'
- stop: '0'
- value: '-70'
- widget: counter_slider
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [728, 12.0]
- rotation: 0
- state: enabled
- - name: vco_max
- id: variable
- parameters:
- comment: ''
- value: '2500'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [472, 12.0]
- rotation: 0
- state: true
- - name: vco_offset
- id: variable
- parameters:
- comment: ''
- value: (center-(fsk_deviation/2))/vco_max
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [560, 12.0]
- rotation: 0
- state: true
- - name: analog_quadrature_demod_cf_1
- id: analog_quadrature_demod_cf
- parameters:
- affinity: ''
- alias: ''
- comment: ''
- gain: samp_rate/(2*math.pi*fsk_deviation)
- maxoutbuf: '0'
- minoutbuf: '0'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [624, 420.0]
- rotation: 0
- state: enabled
- - name: analog_random_source_x_0
- id: analog_random_source_x
- parameters:
- affinity: ''
- alias: ''
- comment: ''
- max: '256'
- maxoutbuf: '0'
- min: '0'
- minoutbuf: '0'
- num_samps: '1024'
- repeat: 'True'
- type: byte
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [16, 148.0]
- rotation: 0
- state: true
- - name: analog_simple_squelch_cc_0
- id: analog_simple_squelch_cc
- parameters:
- affinity: ''
- alias: ''
- alpha: '1'
- comment: ''
- maxoutbuf: '0'
- minoutbuf: '0'
- threshold: sq_lvl
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [448, 412.0]
- rotation: 0
- state: enabled
- - name: blocks_add_const_vxx_0
- id: blocks_add_const_vxx
- parameters:
- affinity: ''
- alias: ''
- comment: vco_offset
- const: vco_offset
- maxoutbuf: '0'
- minoutbuf: '0'
- type: float
- vlen: '1'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [472, 284.0]
- rotation: 0
- state: true
- - name: blocks_delay_0
- id: blocks_delay
- parameters:
- affinity: ''
- alias: ''
- comment: ''
- delay: int(delay)
- maxoutbuf: '0'
- minoutbuf: '0'
- num_ports: '1'
- type: float
- vlen: '1'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [856, 536.0]
- rotation: 0
- state: enabled
- - name: blocks_multiply_const_vxx_0
- id: blocks_multiply_const_vxx
- parameters:
- affinity: ''
- alias: ''
- comment: inp_amp
- const: inp_amp
- maxoutbuf: '0'
- minoutbuf: '0'
- type: float
- vlen: '1'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [304, 284.0]
- rotation: 0
- state: true
- - name: blocks_repeat_0
- id: blocks_repeat
- parameters:
- affinity: ''
- alias: ''
- comment: ''
- interp: repeat
- maxoutbuf: '0'
- minoutbuf: '0'
- type: byte
- vlen: '1'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [352, 172.0]
- rotation: 0
- state: enabled
- - name: blocks_sub_xx_0
- id: blocks_sub_xx
- parameters:
- affinity: ''
- alias: ''
- comment: ''
- maxoutbuf: '0'
- minoutbuf: '0'
- num_inputs: '2'
- type: float
- vlen: '1'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [1000, 480.0]
- rotation: 0
- state: true
- - name: blocks_throttle_0
- id: blocks_throttle
- parameters:
- affinity: ''
- alias: ''
- comment: ''
- ignoretag: 'True'
- maxoutbuf: '0'
- minoutbuf: '0'
- samples_per_second: samp_rate
- type: byte
- vlen: '1'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [536, 172.0]
- rotation: 0
- state: true
- - name: blocks_uchar_to_float_0
- id: blocks_uchar_to_float
- parameters:
- affinity: ''
- alias: ''
- comment: ''
- maxoutbuf: '0'
- minoutbuf: '0'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [704, 176.0]
- rotation: 0
- state: enabled
- - name: blocks_uchar_to_float_0_0
- id: blocks_uchar_to_float
- parameters:
- affinity: ''
- alias: ''
- comment: ''
- maxoutbuf: '0'
- minoutbuf: '0'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [952, 424.0]
- rotation: 0
- state: enabled
- - name: blocks_unpack_k_bits_bb_0
- id: blocks_unpack_k_bits_bb
- parameters:
- affinity: ''
- alias: ''
- comment: ''
- k: '8'
- maxoutbuf: '0'
- minoutbuf: '0'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [200, 172.0]
- rotation: 0
- state: true
- - name: blocks_vco_f_0
- id: blocks_vco_f
- parameters:
- affinity: ''
- alias: ''
- amplitude: '0.5'
- comment: ''
- maxoutbuf: '0'
- minoutbuf: '0'
- samp_rate: samp_rate
- sensitivity: '15708'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [632, 268.0]
- rotation: 0
- state: true
- - name: digital_binary_slicer_fb_0
- id: digital_binary_slicer_fb
- parameters:
- affinity: ''
- alias: ''
- comment: ''
- maxoutbuf: '0'
- minoutbuf: '0'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [808, 424.0]
- rotation: 0
- state: enabled
- - name: freq_xlating_fir_filter_xxx_0
- id: freq_xlating_fir_filter_xxx
- parameters:
- affinity: ''
- alias: ''
- center_freq: center
- comment: ''
- decim: '1'
- maxoutbuf: '0'
- minoutbuf: '0'
- samp_rate: samp_rate
- taps: firdes.low_pass(1.0,samp_rate,1000,400)
- type: fcf
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [208, 396.0]
- rotation: 0
- state: enabled
- - name: qtgui_eye_sink_x_0
- id: qtgui_eye_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'
- axislabels: 'True'
- color1: blue
- color10: blue
- color2: blue
- color3: blue
- color4: blue
- color5: blue
- color6: blue
- color7: blue
- color8: blue
- color9: blue
- comment: ''
- ctrlpanel: 'False'
- entags: 'True'
- grid: 'False'
- gui_hint: ''
- label1: Signal 1
- label10: Signal 10
- label2: Signal 2
- label3: Signal 3
- label4: Signal 4
- label5: Signal 5
- label6: Signal 6
- label7: Signal 7
- label8: Signal 8
- label9: Signal 9
- legend: 'True'
- marker1: '-1'
- marker10: '-1'
- marker2: '-1'
- marker3: '-1'
- marker4: '-1'
- marker5: '-1'
- marker6: '-1'
- marker7: '-1'
- marker8: '-1'
- marker9: '-1'
- nconnections: '1'
- samp_per_symbol: sps
- size: '1024'
- srate: '500'
- style1: '1'
- style10: '1'
- style2: '1'
- style3: '1'
- style4: '1'
- style5: '1'
- style6: '1'
- style7: '1'
- style8: '1'
- style9: '1'
- tr_chan: '0'
- tr_delay: '0'
- tr_level: '0.0'
- tr_mode: qtgui.TRIG_MODE_AUTO
- tr_slope: qtgui.TRIG_SLOPE_POS
- tr_tag: ''
- type: float
- update_time: '0.10'
- width1: '1'
- width10: '1'
- width2: '1'
- width3: '1'
- width4: '1'
- width5: '1'
- width6: '1'
- width7: '1'
- width8: '1'
- width9: '1'
- ylabel: Amplitude
- ymax: '1'
- ymin: '-1'
- yunit: '""'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [1200, 284.0]
- rotation: 0
- state: true
- - name: qtgui_time_sink_x_0
- id: qtgui_time_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'
- 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: 'True'
- entags: 'True'
- grid: 'False'
- gui_hint: ''
- label1: Signal 1
- label10: Signal 10
- label2: Signal 2
- label3: Signal 3
- label4: Signal 4
- label5: Signal 5
- label6: Signal 6
- label7: Signal 7
- label8: Signal 8
- label9: Signal 9
- legend: 'True'
- marker1: '-1'
- marker10: '-1'
- marker2: '-1'
- marker3: '-1'
- marker4: '-1'
- marker5: '-1'
- marker6: '-1'
- marker7: '-1'
- marker8: '-1'
- marker9: '-1'
- name: '""'
- nconnections: '3'
- size: '16384'
- srate: samp_rate
- stemplot: 'False'
- style1: '1'
- style10: '1'
- style2: '1'
- style3: '1'
- style4: '1'
- style5: '1'
- style6: '1'
- style7: '1'
- style8: '1'
- style9: '1'
- tr_chan: '0'
- tr_delay: '0'
- tr_level: '0.5'
- tr_mode: qtgui.TRIG_MODE_NORM
- tr_slope: qtgui.TRIG_SLOPE_NEG
- tr_tag: '""'
- type: float
- update_time: '0.10'
- width1: '1'
- width10: '1'
- width2: '1'
- width3: '1'
- width4: '1'
- width5: '1'
- width6: '1'
- width7: '1'
- width8: '1'
- width9: '1'
- ylabel: Amplitude
- ymax: '1'
- ymin: '-1'
- yunit: '""'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [1136, 464.0]
- rotation: 0
- state: true
- - name: rational_resampler_xxx_0_0
- id: rational_resampler_xxx
- parameters:
- affinity: ''
- alias: ''
- comment: 'sample rate 500 ->
- 11 samples per symbol'
- decim: '96'
- fbw: '0'
- interp: '1'
- maxoutbuf: '0'
- minoutbuf: '0'
- taps: ''
- type: fff
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [1008, 284.0]
- rotation: 0
- state: enabled
- - name: virtual_sink_0
- id: virtual_sink
- parameters:
- alias: ''
- comment: ''
- stream_id: '"xmt_data"'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [864, 172.0]
- rotation: 0
- state: true
- - name: virtual_sink_1
- id: virtual_sink
- parameters:
- alias: ''
- comment: ''
- stream_id: '"fsk_out"'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [816, 284.0]
- rotation: 0
- state: true
- - name: virtual_source_0
- id: virtual_source
- parameters:
- alias: ''
- comment: ''
- stream_id: '"xmt_data"'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [104, 284.0]
- rotation: 0
- state: true
- - name: virtual_source_0_0
- id: virtual_source
- parameters:
- alias: ''
- comment: ''
- stream_id: '"xmt_data"'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [648, 532.0]
- rotation: 0
- state: true
- - name: virtual_source_1
- id: virtual_source
- parameters:
- alias: ''
- comment: ''
- stream_id: '"fsk_out"'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [16, 404.0]
- rotation: 0
- state: true
- connections:
- - [analog_quadrature_demod_cf_1, '0', digital_binary_slicer_fb_0, '0']
- - [analog_quadrature_demod_cf_1, '0', rational_resampler_xxx_0_0, '0']
- - [analog_random_source_x_0, '0', blocks_unpack_k_bits_bb_0, '0']
- - [analog_simple_squelch_cc_0, '0', analog_quadrature_demod_cf_1, '0']
- - [blocks_add_const_vxx_0, '0', blocks_vco_f_0, '0']
- - [blocks_delay_0, '0', blocks_sub_xx_0, '1']
- - [blocks_delay_0, '0', qtgui_time_sink_x_0, '2']
- - [blocks_multiply_const_vxx_0, '0', blocks_add_const_vxx_0, '0']
- - [blocks_repeat_0, '0', blocks_throttle_0, '0']
- - [blocks_sub_xx_0, '0', qtgui_time_sink_x_0, '1']
- - [blocks_throttle_0, '0', blocks_uchar_to_float_0, '0']
- - [blocks_uchar_to_float_0, '0', virtual_sink_0, '0']
- - [blocks_uchar_to_float_0_0, '0', blocks_sub_xx_0, '0']
- - [blocks_uchar_to_float_0_0, '0', qtgui_time_sink_x_0, '0']
- - [blocks_unpack_k_bits_bb_0, '0', blocks_repeat_0, '0']
- - [blocks_vco_f_0, '0', virtual_sink_1, '0']
- - [digital_binary_slicer_fb_0, '0', blocks_uchar_to_float_0_0, '0']
- - [freq_xlating_fir_filter_xxx_0, '0', analog_simple_squelch_cc_0, '0']
- - [rational_resampler_xxx_0_0, '0', qtgui_eye_sink_x_0, '0']
- - [virtual_source_0, '0', blocks_multiply_const_vxx_0, '0']
- - [virtual_source_0_0, '0', blocks_delay_0, '0']
- - [virtual_source_1, '0', freq_xlating_fir_filter_xxx_0, '0']
- metadata:
- file_format: 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement