635 lines
12 KiB
Plaintext
635 lines
12 KiB
Plaintext
options:
|
|
parameters:
|
|
author: Manolis Surligas (surligas@gmail.com)
|
|
category: Custom
|
|
cmake_opt: ''
|
|
comment: ''
|
|
copyright: ''
|
|
description: An example flowgraph that can be used as a base for decoding flowgraphs
|
|
gen_cmake: 'On'
|
|
gen_linking: dynamic
|
|
generate_options: no_gui
|
|
hier_block_src_path: '.:'
|
|
id: satnogs_example_flowgraph
|
|
max_nouts: '0'
|
|
output_language: python
|
|
placement: (0,0)
|
|
qt_qss_theme: ''
|
|
realtime_scheduling: ''
|
|
run: 'True'
|
|
run_command: '{python} -u {filename}'
|
|
run_options: run
|
|
sizing_mode: fixed
|
|
thread_safe_setters: ''
|
|
title: An example flowgraph
|
|
window_size: 3000, 3000
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [8, 8]
|
|
rotation: 0
|
|
state: enabled
|
|
|
|
blocks:
|
|
- name: audio_samp_rate
|
|
id: variable
|
|
parameters:
|
|
comment: ''
|
|
value: '48000'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [1704, 52]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: audio_samp_rate_0
|
|
id: variable
|
|
parameters:
|
|
comment: ''
|
|
value: '48000'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [1320, 44.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: decimation
|
|
id: variable
|
|
parameters:
|
|
comment: ''
|
|
value: satnogs.find_decimation(baudrate, 2, audio_samp_rate)
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [1120, 44.0]
|
|
rotation: 0
|
|
state: true
|
|
- name: filter_rate
|
|
id: variable
|
|
parameters:
|
|
comment: ''
|
|
value: '250000'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [1704, 260]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: xlate_filter_taps
|
|
id: variable
|
|
parameters:
|
|
comment: ''
|
|
value: firdes.low_pass(1, samp_rate_rx, 125000, 25000, firdes.WIN_HAMMING, 6.76)
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [1704, 164]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: analog_quadrature_demod_cf_0_0_0
|
|
id: analog_quadrature_demod_cf
|
|
parameters:
|
|
affinity: ''
|
|
alias: ''
|
|
comment: ''
|
|
gain: '0.9'
|
|
maxoutbuf: '0'
|
|
minoutbuf: '0'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [976, 308.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: antenna
|
|
id: parameter
|
|
parameters:
|
|
alias: ''
|
|
comment: ''
|
|
hide: none
|
|
label: ''
|
|
short_id: ''
|
|
type: str
|
|
value: ''
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [848, 44.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: baudrate
|
|
id: parameter
|
|
parameters:
|
|
alias: ''
|
|
comment: ''
|
|
hide: none
|
|
label: ''
|
|
short_id: ''
|
|
type: eng_float
|
|
value: '9600.0'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [1232, 44.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: bw
|
|
id: parameter
|
|
parameters:
|
|
alias: ''
|
|
comment: 'The bandwidth should configure RF filters on some devices.
|
|
|
|
Set to 0.0 for automatic calculation.'
|
|
hide: none
|
|
label: Bandwidth
|
|
short_id: ''
|
|
type: eng_float
|
|
value: '0.0'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [1008, 44.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: dc_blocker_xx_0_0
|
|
id: dc_blocker_xx
|
|
parameters:
|
|
affinity: ''
|
|
alias: ''
|
|
comment: ''
|
|
length: '1024'
|
|
long_form: 'True'
|
|
maxoutbuf: '0'
|
|
minoutbuf: '0'
|
|
type: ff
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [1144, 300.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: decoded_data_file_path
|
|
id: parameter
|
|
parameters:
|
|
alias: ''
|
|
comment: ''
|
|
hide: none
|
|
label: ''
|
|
short_id: ''
|
|
type: str
|
|
value: /tmp/.satnogs/data/data
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [16, 668.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: dev_args_0
|
|
id: parameter
|
|
parameters:
|
|
alias: ''
|
|
comment: ''
|
|
hide: none
|
|
label: Device arguments
|
|
short_id: ''
|
|
type: str
|
|
value: ''
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [400, 44.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: doppler_correction_per_sec
|
|
id: parameter
|
|
parameters:
|
|
alias: ''
|
|
comment: ''
|
|
hide: none
|
|
label: ''
|
|
short_id: ''
|
|
type: intx
|
|
value: '20'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [176, 668.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: enable_iq_dump
|
|
id: parameter
|
|
parameters:
|
|
alias: ''
|
|
comment: ''
|
|
hide: none
|
|
label: ''
|
|
short_id: ''
|
|
type: intx
|
|
value: '0'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [272, 588.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: file_path
|
|
id: parameter
|
|
parameters:
|
|
alias: ''
|
|
comment: ''
|
|
hide: none
|
|
label: ''
|
|
short_id: ''
|
|
type: str
|
|
value: test.wav
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [160, 588.0]
|
|
rotation: 180
|
|
state: enabled
|
|
- name: gain
|
|
id: parameter
|
|
parameters:
|
|
alias: ''
|
|
comment: ''
|
|
hide: none
|
|
label: ''
|
|
short_id: ''
|
|
type: eng_float
|
|
value: '0.0'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [928, 44.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: iq_file_path
|
|
id: parameter
|
|
parameters:
|
|
alias: ''
|
|
comment: ''
|
|
hide: none
|
|
label: ''
|
|
short_id: ''
|
|
type: str
|
|
value: /tmp/iq.dat
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [416, 588.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: lo_offset
|
|
id: parameter
|
|
parameters:
|
|
alias: ''
|
|
comment: 'To avoid the SDR carrier at the DC
|
|
|
|
we shift the LO a little further'
|
|
hide: none
|
|
label: ''
|
|
short_id: ''
|
|
type: eng_float
|
|
value: 100e3
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [768, 44.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: rigctl_port
|
|
id: parameter
|
|
parameters:
|
|
alias: ''
|
|
comment: ''
|
|
hide: none
|
|
label: ''
|
|
short_id: ''
|
|
type: intx
|
|
value: '4532'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [416, 668.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: rx_freq
|
|
id: parameter
|
|
parameters:
|
|
alias: ''
|
|
comment: ''
|
|
hide: none
|
|
label: ''
|
|
short_id: ''
|
|
type: eng_float
|
|
value: 100e6
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [688, 44.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: samp_rate_rx
|
|
id: parameter
|
|
parameters:
|
|
alias: ''
|
|
comment: ''
|
|
hide: none
|
|
label: Device Sampling rate
|
|
short_id: ''
|
|
type: eng_float
|
|
value: '0.0'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [536, 44.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: satnogs_doppler_compensation_0
|
|
id: satnogs_doppler_compensation
|
|
parameters:
|
|
affinity: ''
|
|
alias: ''
|
|
comment: ''
|
|
compensate: '1'
|
|
lo_offset: lo_offset
|
|
maxoutbuf: '0'
|
|
minoutbuf: '0'
|
|
out_samp_rate: audio_samp_rate
|
|
samp_rate: samp_rate_rx
|
|
sat_freq: rx_freq
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [528, 164.0]
|
|
rotation: 0
|
|
state: true
|
|
- name: satnogs_iq_sink_0
|
|
id: satnogs_iq_sink
|
|
parameters:
|
|
activate: '1'
|
|
affinity: ''
|
|
alias: ''
|
|
append: 'False'
|
|
comment: ''
|
|
filename: iq_file_path
|
|
scale: '16768'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [976, 500.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: satnogs_ogg_encoder_0
|
|
id: satnogs_ogg_encoder
|
|
parameters:
|
|
affinity: ''
|
|
alias: ''
|
|
comment: ''
|
|
filename: file_path
|
|
quality: '1.0'
|
|
samp_rate: audio_samp_rate
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [1288, 292.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: satnogs_tcp_rigctl_msg_source_0
|
|
id: satnogs_tcp_rigctl_msg_source
|
|
parameters:
|
|
addr: '"127.0.0.1"'
|
|
affinity: ''
|
|
alias: ''
|
|
comment: ''
|
|
interval: int(1000.0/doppler_correction_per_sec) + 1
|
|
maxoutbuf: '0'
|
|
minoutbuf: '0'
|
|
mode: 'False'
|
|
mtu: '1500'
|
|
port: rigctl_port
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [272, 276.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: satnogs_waterfall_sink_0
|
|
id: satnogs_waterfall_sink
|
|
parameters:
|
|
affinity: ''
|
|
alias: ''
|
|
center_freq: rx_freq
|
|
comment: ''
|
|
fft_size: '1024'
|
|
filename: waterfall_file_path
|
|
mode: '1'
|
|
rps: '10'
|
|
samp_rate: baudrate*decimation
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [976, 364.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: soapy_rx_device
|
|
id: parameter
|
|
parameters:
|
|
alias: ''
|
|
comment: ''
|
|
hide: none
|
|
label: ''
|
|
short_id: ''
|
|
type: str
|
|
value: driver=invalid
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [272, 36.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: soapy_source_0
|
|
id: soapy_source
|
|
parameters:
|
|
affinity: ''
|
|
alias: ''
|
|
amp_gain0: '0'
|
|
ant0: antenna
|
|
ant1: RX2
|
|
args: dev_args
|
|
balance0: '0'
|
|
balance1: '0'
|
|
bw0: bw
|
|
bw1: '0'
|
|
center_freq0: rx_freq - lo_offset
|
|
center_freq1: '0'
|
|
clock_rate: '0'
|
|
clock_source: ''
|
|
comment: ''
|
|
correction0: '0'
|
|
correction1: '0'
|
|
dc_offset0: '0'
|
|
dc_offset1: '0'
|
|
dc_offset_auto_mode0: 'False'
|
|
dc_offset_auto_mode1: 'False'
|
|
dev: soapy_rx_device
|
|
devname: custom
|
|
gain_auto_mode0: 'False'
|
|
gain_auto_mode1: 'False'
|
|
ifgr_gain: '59'
|
|
lna_gain0: '10'
|
|
lna_gain1: '10'
|
|
manual_gain0: 'False'
|
|
manual_gain1: 'True'
|
|
maxoutbuf: '0'
|
|
minoutbuf: '0'
|
|
mix_gain0: '10'
|
|
mix_gain1: '10'
|
|
nchan: '1'
|
|
nco_freq0: '0'
|
|
nco_freq1: '0'
|
|
overall_gain0: gain
|
|
overall_gain1: '10'
|
|
pga_gain0: '24'
|
|
pga_gain1: '24'
|
|
rfgr_gain: '9'
|
|
samp_rate: samp_rate_rx
|
|
sdrplay_agc_setpoint: '-30'
|
|
sdrplay_biastee: 'True'
|
|
sdrplay_dabnotch: 'False'
|
|
sdrplay_if_mode: Zero-IF
|
|
sdrplay_rfnotch: 'False'
|
|
tia_gain0: '0'
|
|
tia_gain1: '0'
|
|
tuner_gain0: '10'
|
|
tuner_gain1: '10'
|
|
type: fc32
|
|
vga_gain0: '10'
|
|
vga_gain1: '10'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [272, 140.0]
|
|
rotation: 0
|
|
state: true
|
|
- name: udp_IP
|
|
id: parameter
|
|
parameters:
|
|
alias: ''
|
|
comment: ''
|
|
hide: none
|
|
label: ''
|
|
short_id: ''
|
|
type: str
|
|
value: 127.0.0.1
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [512, 588.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: udp_port
|
|
id: parameter
|
|
parameters:
|
|
alias: ''
|
|
comment: ''
|
|
hide: none
|
|
label: ''
|
|
short_id: ''
|
|
type: intx
|
|
value: '16887'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [512, 668.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: virtual_sink_0
|
|
id: virtual_sink
|
|
parameters:
|
|
alias: ''
|
|
comment: ''
|
|
stream_id: doppler_corrected
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [816, 196.0]
|
|
rotation: 0
|
|
state: true
|
|
- name: virtual_source_0
|
|
id: virtual_source
|
|
parameters:
|
|
alias: ''
|
|
comment: ''
|
|
stream_id: doppler_corrected
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [624, 404.0]
|
|
rotation: 0
|
|
state: true
|
|
- name: waterfall_file_path
|
|
id: parameter
|
|
parameters:
|
|
alias: ''
|
|
comment: ''
|
|
hide: none
|
|
label: ''
|
|
short_id: ''
|
|
type: str
|
|
value: /tmp/waterfall.dat
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [16, 588.0]
|
|
rotation: 0
|
|
state: enabled
|
|
|
|
connections:
|
|
- [analog_quadrature_demod_cf_0_0_0, '0', dc_blocker_xx_0_0, '0']
|
|
- [dc_blocker_xx_0_0, '0', satnogs_ogg_encoder_0, '0']
|
|
- [satnogs_doppler_compensation_0, '0', virtual_sink_0, '0']
|
|
- [satnogs_tcp_rigctl_msg_source_0, freq, satnogs_doppler_compensation_0, doppler]
|
|
- [soapy_source_0, '0', satnogs_doppler_compensation_0, '0']
|
|
- [virtual_source_0, '0', analog_quadrature_demod_cf_0_0_0, '0']
|
|
- [virtual_source_0, '0', satnogs_iq_sink_0, '0']
|
|
- [virtual_source_0, '0', satnogs_waterfall_sink_0, '0']
|
|
|
|
metadata:
|
|
file_format: 1
|