hamnet70-gnuradio-legacy/tmp/test_sc16qam.grc

792 lines
16 KiB
Plaintext

options:
parameters:
author: ''
category: '[GRC Hier Blocks]'
cmake_opt: ''
comment: ''
copyright: ''
description: ''
gen_cmake: 'On'
gen_linking: dynamic
generate_options: qt_gui
hier_block_src_path: '.:'
id: top_block
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: ''
window_size: (1500,800)
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [8, 8]
rotation: 0
state: enabled
blocks:
- name: freq_offset_hz
id: variable_qtgui_range
parameters:
comment: ''
gui_hint: ''
label: Frequency Offset [Hz]
min_len: '200'
orient: Qt.Horizontal
rangeType: float
start: -2e3
step: '0.1'
stop: 2e3
value: '0'
widget: counter_slider
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [974, 51]
rotation: 0
state: enabled
- name: noise_voltage
id: variable_qtgui_range
parameters:
comment: ''
gui_hint: ''
label: Noise Voltage
min_len: '200'
orient: Qt.Horizontal
rangeType: float
start: '0'
step: '0.001'
stop: '0.25'
value: '0'
widget: counter_slider
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [854, 51]
rotation: 0
state: enabled
- name: plen
id: variable
parameters:
comment: ''
value: '979'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [352, 12.0]
rotation: 0
state: enabled
- name: samp_rate
id: variable
parameters:
comment: ''
value: 300e3
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [7, 83]
rotation: 0
state: enabled
- name: blocks_message_debug_0
id: blocks_message_debug
parameters:
affinity: ''
alias: ''
comment: ''
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [1568, 368.0]
rotation: 0
state: enabled
- name: blocks_tag_gate_0
id: blocks_tag_gate
parameters:
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
propagate_tags: 'False'
single_key: '""'
type: complex
vlen: '1'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [464, 276.0]
rotation: 0
state: enabled
- name: blocks_tagged_stream_to_pdu_0
id: blocks_tagged_stream_to_pdu
parameters:
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
tag: packet_len
type: byte
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [438, 171]
rotation: 0
state: enabled
- name: blocks_throttle_0
id: blocks_throttle
parameters:
affinity: ''
alias: ''
comment: ''
ignoretag: 'True'
maxoutbuf: '0'
minoutbuf: '0'
samples_per_second: samp_rate
type: complex
vlen: '1'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [288, 284.0]
rotation: 0
state: enabled
- name: blocks_throttle_0_0
id: blocks_throttle
parameters:
affinity: ''
alias: ''
comment: ''
ignoretag: 'True'
maxoutbuf: '0'
minoutbuf: '0'
samples_per_second: samp_rate/8
type: byte
vlen: '1'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [255, 171]
rotation: 0
state: enabled
- name: blocks_vector_source_x_0_0_0
id: blocks_vector_source_x
parameters:
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
repeat: 'True'
tags: tagged_streams.make_lengthtags((plen,), (0,), "packet_len")
type: byte
vector: bytes([x%256 for x in range(plen)])
vlen: '1'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [15, 155]
rotation: 0
state: enabled
- name: channels_channel_model_0
id: channels_channel_model
parameters:
affinity: ''
alias: ''
block_tags: 'False'
comment: ''
epsilon: '1.0'
freq_offset: freq_offset_hz/samp_rate
maxoutbuf: '0'
minoutbuf: '0'
noise_voltage: noise_voltage
seed: '0'
taps: '[(1.0 + 1.0j)*0.7]'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [632, 244.0]
rotation: 0
state: enabled
- name: hamnet70_demod_sc16qam_0
id: hamnet70_demod_sc16qam
parameters:
MTU: '1000'
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
samp_rate: 300e3
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [880, 320.0]
rotation: 0
state: enabled
- name: hamnet70_mod_sc16qam_0
id: hamnet70_mod_sc16qam
parameters:
MTU: '1000'
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
samp_rate: samp_rate
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [80, 276.0]
rotation: 0
state: enabled
- name: import_0
id: import
parameters:
alias: ''
comment: ''
imports: from gnuradio.digital.utils import tagged_streams
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [167, 11]
rotation: 0
state: enabled
- name: import_0_0
id: import
parameters:
alias: ''
comment: ''
imports: import random
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [167, 59]
rotation: 0
state: disabled
- name: import_0_0_0
id: import
parameters:
alias: ''
comment: ''
imports: import numpy as np
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [271, 59]
rotation: 0
state: disabled
- name: qtgui_const_sink_x_0
id: qtgui_const_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: '"red"'
color2: '"red"'
color3: '"red"'
color4: '"red"'
color5: '"red"'
color6: '"red"'
color7: '"red"'
color8: '"red"'
color9: '"red"'
comment: ''
grid: 'False'
gui_hint: ''
label1: ''
label10: ''
label2: ''
label3: ''
label4: ''
label5: ''
label6: ''
label7: ''
label8: ''
label9: ''
legend: 'True'
marker1: '0'
marker10: '0'
marker2: '0'
marker3: '0'
marker4: '0'
marker5: '0'
marker6: '0'
marker7: '0'
marker8: '0'
marker9: '0'
name: '"Synced symbols"'
nconnections: '1'
size: '2048'
style1: '0'
style10: '0'
style2: '0'
style3: '0'
style4: '0'
style5: '0'
style6: '0'
style7: '0'
style8: '0'
style9: '0'
tr_chan: '0'
tr_level: '0.0'
tr_mode: qtgui.TRIG_MODE_TAG
tr_slope: qtgui.TRIG_SLOPE_POS
tr_tag: '"corr_est"'
type: complex
update_time: '0.5'
width1: '1'
width10: '1'
width2: '1'
width3: '1'
width4: '1'
width5: '1'
width6: '1'
width7: '1'
width8: '1'
width9: '1'
xmax: '2'
xmin: '-2'
ymax: '2'
ymin: '-2'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [1528, 172.0]
rotation: 0
state: enabled
- name: qtgui_number_sink_0
id: qtgui_number_sink
parameters:
affinity: ''
alias: ''
autoscale: 'False'
avg: '0'
color1: ("black", "black")
color10: ("black", "black")
color2: ("black", "black")
color3: ("black", "black")
color4: ("black", "black")
color5: ("black", "black")
color6: ("black", "black")
color7: ("black", "black")
color8: ("black", "black")
color9: ("black", "black")
comment: ''
factor1: '1'
factor10: '1'
factor2: '1'
factor3: '1'
factor4: '1'
factor5: '1'
factor6: '1'
factor7: '1'
factor8: '1'
factor9: '1'
graph_type: qtgui.NUM_GRAPH_HORIZ
gui_hint: ''
label1: ''
label10: ''
label2: ''
label3: ''
label4: ''
label5: ''
label6: ''
label7: ''
label8: ''
label9: ''
max: '50'
min: '0'
name: '""'
nconnections: '1'
type: float
unit1: ''
unit10: ''
unit2: ''
unit3: ''
unit4: ''
unit5: ''
unit6: ''
unit7: ''
unit8: ''
unit9: ''
update_time: '0.10'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [1160, 540.0]
rotation: 0
state: enabled
- name: qtgui_number_sink_0_0
id: qtgui_number_sink
parameters:
affinity: ''
alias: ''
autoscale: 'False'
avg: '0'
color1: ("black", "black")
color10: ("black", "black")
color2: ("black", "black")
color3: ("black", "black")
color4: ("black", "black")
color5: ("black", "black")
color6: ("black", "black")
color7: ("black", "black")
color8: ("black", "black")
color9: ("black", "black")
comment: ''
factor1: '1'
factor10: '1'
factor2: '1'
factor3: '1'
factor4: '1'
factor5: '1'
factor6: '1'
factor7: '1'
factor8: '1'
factor9: '1'
graph_type: qtgui.NUM_GRAPH_HORIZ
gui_hint: ''
label1: ''
label10: ''
label2: ''
label3: ''
label4: ''
label5: ''
label6: ''
label7: ''
label8: ''
label9: ''
max: '1'
min: '-1'
name: "\"\u0394f\""
nconnections: '1'
type: float
unit1: ''
unit10: ''
unit2: ''
unit3: ''
unit4: ''
unit5: ''
unit6: ''
unit7: ''
unit8: ''
unit9: ''
update_time: '0.10'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [1160, 444.0]
rotation: 0
state: enabled
- name: qtgui_sink_x_0
id: qtgui_sink_x
parameters:
affinity: ''
alias: ''
bw: samp_rate
comment: ''
fc: '0'
fftsize: '1024'
gui_hint: ''
maxoutbuf: '0'
minoutbuf: '0'
name: '"RX Signal"'
plotconst: 'True'
plotfreq: 'True'
plottime: 'True'
plotwaterfall: 'True'
rate: '10'
showports: 'True'
showrf: 'False'
type: complex
wintype: firdes.WIN_BLACKMAN_hARRIS
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [936, 188.0]
rotation: 0
state: enabled
- name: qtgui_sink_x_1
id: qtgui_sink_x
parameters:
affinity: ''
alias: ''
bw: samp_rate/2
comment: ''
fc: '0'
fftsize: '1024'
gui_hint: ''
maxoutbuf: '0'
minoutbuf: '0'
name: '"Synced Symbols"'
plotconst: 'True'
plotfreq: 'True'
plottime: 'True'
plotwaterfall: 'True'
rate: '10'
showports: 'True'
showrf: 'False'
type: complex
wintype: firdes.WIN_BLACKMAN_hARRIS
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [1360, 316.0]
rotation: 0
state: disabled
- 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: 'False'
entags: 'True'
grid: 'False'
gui_hint: ''
label1: ''
label10: ''
label2: ''
label3: ''
label4: ''
label5: ''
label6: ''
label7: ''
label8: ''
label9: ''
legend: 'True'
marker1: '-1'
marker10: '-1'
marker2: '-1'
marker3: '-1'
marker4: '-1'
marker5: '-1'
marker6: '-1'
marker7: '-1'
marker8: '-1'
marker9: '-1'
name: '"Synced"'
nconnections: '1'
size: '8192'
srate: samp_rate/2
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: 10/150e3
tr_level: '0.0'
tr_mode: qtgui.TRIG_MODE_TAG
tr_slope: qtgui.TRIG_SLOPE_POS
tr_tag: '"corr_start"'
type: complex
update_time: '1'
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: [1536, 260.0]
rotation: 0
state: enabled
- name: qtgui_time_sink_x_0_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: 'False'
entags: 'True'
grid: 'False'
gui_hint: ''
label1: ''
label10: ''
label2: ''
label3: ''
label4: ''
label5: ''
label6: ''
label7: ''
label8: ''
label9: ''
legend: 'True'
marker1: '-1'
marker10: '-1'
marker2: '-1'
marker3: '-1'
marker4: '-1'
marker5: '-1'
marker6: '-1'
marker7: '-1'
marker8: '-1'
marker9: '-1'
name: '"Correlation"'
nconnections: '1'
size: '1024'
srate: samp_rate/2
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: 30/150e3
tr_level: '0.0'
tr_mode: qtgui.TRIG_MODE_TAG
tr_slope: qtgui.TRIG_SLOPE_POS
tr_tag: '"corr_est"'
type: complex
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: '100'
ymin: '-100'
yunit: '""'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [1192, 172.0]
rotation: 0
state: enabled
connections:
- [blocks_tag_gate_0, '0', channels_channel_model_0, '0']
- [blocks_tagged_stream_to_pdu_0, pdus, hamnet70_mod_sc16qam_0, packet_in]
- [blocks_throttle_0, '0', blocks_tag_gate_0, '0']
- [blocks_throttle_0_0, '0', blocks_tagged_stream_to_pdu_0, '0']
- [blocks_vector_source_x_0_0_0, '0', blocks_throttle_0_0, '0']
- [channels_channel_model_0, '0', hamnet70_demod_sc16qam_0, '0']
- [channels_channel_model_0, '0', qtgui_sink_x_0, '0']
- [hamnet70_demod_sc16qam_0, '0', qtgui_time_sink_x_0_0, '0']
- [hamnet70_demod_sc16qam_0, '1', qtgui_const_sink_x_0, '0']
- [hamnet70_demod_sc16qam_0, '1', qtgui_sink_x_1, '0']
- [hamnet70_demod_sc16qam_0, '1', qtgui_time_sink_x_0, '0']
- [hamnet70_demod_sc16qam_0, '2', qtgui_number_sink_0, '0']
- [hamnet70_demod_sc16qam_0, '3', qtgui_number_sink_0_0, '0']
- [hamnet70_demod_sc16qam_0, pdu_out, blocks_message_debug_0, print_pdu]
- [hamnet70_mod_sc16qam_0, '0', blocks_throttle_0, '0']
metadata:
file_format: 1