gr-m17/examples/transmitterPLUTOSDR.grc

656 lines
13 KiB
Plaintext

options:
parameters:
author: Wojciech Kaczmarski SP5WWP
catch_exceptions: 'True'
category: '[GRC Hier Blocks]'
cmake_opt: ''
comment: ''
copyright: ''
description: ''
gen_cmake: 'On'
gen_linking: dynamic
generate_options: qt_gui
hier_block_src_path: '.:'
id: m17_streamer
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: Simple M17 transmitter for ADALM Pluto
window_size: (1000,1000)
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [8, 12.0]
rotation: 0
state: enabled
blocks:
- name: dst
id: variable_qtgui_entry
parameters:
comment: ''
gui_hint: qtgui_tab_widget_0@0:0,0
label: Destination callsign
type: string
value: ALL
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [152, 108.0]
rotation: 0
state: true
- name: freq
id: variable_qtgui_entry
parameters:
comment: ''
gui_hint: qtgui_tab_widget_0@0:1,0
label: Frequency
type: int
value: '433475000'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [384, 12.0]
rotation: 0
state: true
- name: ppm
id: variable_qtgui_range
parameters:
comment: ''
gui_hint: qtgui_tab_widget_0@0:1,1
label: Frequency error (ppm)
min_len: '200'
orient: QtCore.Qt.Horizontal
rangeType: float
start: '-10'
step: '0.1'
stop: '10'
value: '0'
widget: counter_slider
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [536, 12.0]
rotation: 0
state: true
- name: pwr
id: variable_qtgui_range
parameters:
comment: ''
gui_hint: qtgui_tab_widget_0@0:2,0,1,2
label: RF power out
min_len: '100'
orient: QtCore.Qt.Horizontal
rangeType: float
start: '0'
step: '1'
stop: '80'
value: '0'
widget: counter_slider
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [704, 12.0]
rotation: 0
state: true
- name: rf_on
id: variable_qtgui_check_box
parameters:
comment: ''
'false': '0'
gui_hint: qtgui_tab_widget_0@1:0,0
label: RF out
'true': '1'
type: real
value: '1'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [304, 108.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: [184, 12.0]
rotation: 0
state: enabled
- name: src
id: variable_qtgui_entry
parameters:
comment: ''
gui_hint: qtgui_tab_widget_0@0:0,1
label: Source callsign
type: string
value: AB1CDE
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [8, 108.0]
rotation: 0
state: true
- name: analog_frequency_modulator_fc_0_0
id: analog_frequency_modulator_fc
parameters:
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
sensitivity: (2.0*math.pi*800.0)/samp_rate
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [728, 300.0]
rotation: 0
state: true
- name: analog_sig_source_x_0
id: analog_sig_source_x
parameters:
affinity: ''
alias: ''
amp: '20000'
comment: ''
freq: '1000'
maxoutbuf: '0'
minoutbuf: '0'
offset: '0'
phase: '0'
samp_rate: '8000'
showports: 'False'
type: short
waveform: analog.GR_COS_WAVE
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [16, 444.0]
rotation: 0
state: true
- name: blocks_multiply_const_vxx_0
id: blocks_multiply_const_vxx
parameters:
affinity: ''
alias: ''
comment: ''
const: rf_on
maxoutbuf: '0'
minoutbuf: '0'
type: complex
vlen: '1'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [896, 300.0]
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: '4800'
type: float
vlen: '1'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [368, 292.0]
rotation: 0
state: enabled
- name: blocks_vector_source_x_0_2
id: blocks_vector_source_x
parameters:
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
repeat: 'True'
tags: '[]'
type: byte
vector: (0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00)
vlen: '1'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [8, 284.0]
rotation: 0
state: disabled
- name: blocks_vector_to_stream_0
id: blocks_vector_to_stream
parameters:
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
num_items: '64'
type: byte
vlen: '1'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [224, 416.0]
rotation: 180
state: enabled
- name: iio_pluto_sink_0_0
id: iio_pluto_sink
parameters:
affinity: ''
alias: ''
attenuation1: 80-pwr
bandwidth: samp_rate*16
buffer_size: '32768'
comment: ''
cyclic: 'False'
filter: ''
filter_source: '''Auto'''
fpass: '0'
frequency: int(freq*(1+ppm*1e-6))
fstop: '0'
len_tag_key: ''
samplerate: samp_rate*16
type: fc32
uri: ''
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [1216, 244.0]
rotation: 0
state: enabled
- name: import_0
id: import
parameters:
alias: ''
comment: ''
imports: import math
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [280, 12.0]
rotation: 0
state: enabled
- name: m17_m17_coder_0_0
id: m17_m17_coder
parameters:
affinity: ''
alias: ''
comment: ''
debug: 'False'
dst_id: dst
maxoutbuf: '0'
meta: ''
minoutbuf: '0'
src_id: src
type: '5'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [208, 268.0]
rotation: 0
state: enabled
- name: note_0_2
id: note
parameters:
alias: ''
comment: ''
note: DATA
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [48, 364.0]
rotation: 0
state: true
- name: note_0_2_0
id: note
parameters:
alias: ''
comment: ''
note: This throttle block shoult **NOT** be required
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [344, 356.0]
rotation: 0
state: true
- name: note_0_2_1
id: note
parameters:
alias: ''
comment: ''
note: 1kHz beep, can be replaced with a WAVE file source
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [16, 572.0]
rotation: 0
state: true
- name: qtgui_freq_sink_x_0_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'
bw: int(samp_rate*16)
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: '4096'
freqhalf: 'True'
grid: 'True'
gui_hint: qtgui_tab_widget_0@1:2,0
label: Relative Gain
label1: ''
label10: ''''''
label2: ''''''
label3: ''''''
label4: ''''''
label5: ''''''
label6: ''''''
label7: ''''''
label8: ''''''
label9: ''''''
legend: 'False'
maxoutbuf: '0'
minoutbuf: '0'
name: '"RF scpectrum"'
nconnections: '1'
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: '0'
ymin: '-100'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [1216, 420.0]
rotation: 0
state: enabled
- name: qtgui_tab_widget_0
id: qtgui_tab_widget
parameters:
alias: ''
comment: ''
gui_hint: ''
label0: Settings
label1: Baseband && RF spectrum
label10: Tab 10
label11: Tab 11
label12: Tab 12
label13: Tab 13
label14: Tab 14
label15: Tab 15
label16: Tab 16
label17: Tab 17
label18: Tab 18
label19: Tab 19
label2: Tab 2
label3: Tab 3
label4: Tab 4
label5: Tab 5
label6: Tab 6
label7: Tab 7
label8: Tab 8
label9: Tab 9
num_tabs: '2'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [824, 12.0]
rotation: 0
state: true
- 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: 'True'
gui_hint: qtgui_tab_widget_0@1:1,0
label1: ''
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: 'False'
marker1: '-1'
marker10: '-1'
marker2: '-1'
marker3: '-1'
marker4: '-1'
marker5: '-1'
marker6: '-1'
marker7: '-1'
marker8: '-1'
marker9: '-1'
name: '"M17 baseband"'
nconnections: '1'
size: '1024'
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.0'
tr_mode: qtgui.TRIG_MODE_FREE
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: '5'
ymin: '-5'
yunit: '""'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [728, 372.0]
rotation: 0
state: enabled
- name: rational_resampler_xxx_0_0
id: rational_resampler_xxx
parameters:
affinity: ''
alias: ''
comment: ''
decim: '1'
fbw: '0'
interp: '16'
maxoutbuf: '0'
minoutbuf: '0'
taps: '[]'
type: ccf
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [1040, 276.0]
rotation: 0
state: true
- name: root_raised_cosine_filter_0
id: root_raised_cosine_filter
parameters:
affinity: ''
alias: ''
alpha: '0.5'
comment: ''
decim: '1'
gain: '10'
interp: '10'
maxoutbuf: '0'
minoutbuf: '0'
ntaps: '81'
samp_rate: '10'
sym_rate: '1.0'
type: interp_fir_filter_fff
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [520, 260.0]
rotation: 0
state: true
- name: vocoder_codec2_encode_sp_0
id: vocoder_codec2_encode_sp
parameters:
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
mode: codec2.MODE_3200
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [208, 484.0]
rotation: 0
state: enabled
connections:
- [analog_frequency_modulator_fc_0_0, '0', blocks_multiply_const_vxx_0, '0']
- [analog_sig_source_x_0, '0', vocoder_codec2_encode_sp_0, '0']
- [blocks_multiply_const_vxx_0, '0', rational_resampler_xxx_0_0, '0']
- [blocks_throttle2_0, '0', root_raised_cosine_filter_0, '0']
- [blocks_vector_source_x_0_2, '0', m17_m17_coder_0_0, '0']
- [blocks_vector_to_stream_0, '0', m17_m17_coder_0_0, '0']
- [m17_m17_coder_0_0, '0', blocks_throttle2_0, '0']
- [rational_resampler_xxx_0_0, '0', iio_pluto_sink_0_0, '0']
- [rational_resampler_xxx_0_0, '0', qtgui_freq_sink_x_0_0, '0']
- [root_raised_cosine_filter_0, '0', analog_frequency_modulator_fc_0_0, '0']
- [root_raised_cosine_filter_0, '0', qtgui_time_sink_x_0_0, '0']
- [vocoder_codec2_encode_sp_0, '0', blocks_vector_to_stream_0, '0']
metadata:
file_format: 1
grc_version: 3.10.7.0