Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix block parameter issues #6

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@
*.user
build*/
examples/grc/*.py
.vscode
apps/*.py
126 changes: 115 additions & 11 deletions apps/fm_receiver.grc
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ options:
sizing_mode: fixed
thread_safe_setters: ''
title: Not titled yet
window_size: (1000,1000)
states:
bus_sink: false
bus_source: false
Expand Down Expand Up @@ -158,7 +159,7 @@ blocks:
rangeType: float
start: '0'
step: '0.05'
stop: '1'
stop: '2'
value: '0.3'
widget: counter_slider
states:
Expand Down Expand Up @@ -204,7 +205,7 @@ blocks:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [920, 188.0]
coordinate: [1000, 180.0]
rotation: 0
state: true
- name: bladeRF_source_0
Expand All @@ -220,6 +221,7 @@ blocks:
dc_calibration: RX_LPF
dc_offset_mode0: '0'
dc_offset_mode1: '0'
dcoff: '[0, 0]'
device_id: '0'
fpga_image: test123
fpga_reload: 'False'
Expand All @@ -231,6 +233,7 @@ blocks:
if_gain0: if_gain
if_gain1: '20'
in_clk: ONBOARD
iq_balance: '[0, 0]'
iq_balance_mode0: '0'
iq_balance_mode1: '0'
lpf_mode: bypassed
Expand All @@ -242,6 +245,8 @@ blocks:
ref_clk: 10e6
sample_rate: samp_rate
sampling: external
show_pmic: 'False'
show_v1: 'False'
smb: 10e6
tamer: internal
trigger0: 'False'
Expand All @@ -251,6 +256,8 @@ blocks:
trigger_signal0: J71_4
trigger_signal1: J51_1
use_dac: 'True'
use_iq_balance: 'False'
use_iq_dcoff: 'False'
verbosity: info
xb200: none
states:
Expand All @@ -274,7 +281,7 @@ blocks:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [56, 460.0]
coordinate: [216, 412.0]
rotation: 0
state: true
- name: blocks_msgpair_to_var_0
Expand All @@ -288,9 +295,9 @@ blocks:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [328, 316.0]
coordinate: [472, 420.0]
rotation: 0
state: true
state: enabled
- name: blocks_multiply_const_vxx_0
id: blocks_multiply_const_vxx
parameters:
Expand All @@ -306,7 +313,7 @@ blocks:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [760, 148.0]
coordinate: [776, 180.0]
rotation: 0
state: true
- name: qtgui_freq_sink_x_0
Expand Down Expand Up @@ -387,8 +394,105 @@ blocks:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [632, 340.0]
rotation: 0
coordinate: [724.0, 448]
rotation: 270
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: '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'
name: '""'
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: '1'
ymin: '-1'
yunit: '""'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [812.0, 448]
rotation: 270
state: true
- name: rational_resampler_xxx_0
id: rational_resampler_xxx
Expand All @@ -407,17 +511,17 @@ blocks:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [376, 140.0]
coordinate: [368, 156.0]
rotation: 0
state: true

connections:
- [analog_fm_demod_cf_0, '0', blocks_multiply_const_vxx_0, '0']
- [bladeRF_source_0, '0', qtgui_freq_sink_x_0, '0']
- [bladeRF_source_0, '0', rational_resampler_xxx_0, '0']
- [bladeRF_source_0, pmic_out, blocks_msgpair_to_var_0, inpair]
- [blocks_message_strobe_0, strobe, bladeRF_source_0, pmic_in]
- [blocks_message_strobe_0, strobe, blocks_msgpair_to_var_0, inpair]
- [blocks_multiply_const_vxx_0, '0', audio_sink_0, '0']
- [blocks_multiply_const_vxx_0, '0', qtgui_time_sink_x_0, '0']
- [rational_resampler_xxx_0, '0', analog_fm_demod_cf_0, '0']

metadata:
Expand Down
Loading