Skip to content

Commit

Permalink
gr-uhd: Fix Parameter block errors in GRC examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
drmpeg authored and mormj committed May 28, 2020
1 parent b3cf5e4 commit 27f54cb
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 71 deletions.
24 changes: 12 additions & 12 deletions gr-uhd/examples/grc/uhd_const_wave.grc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
options:
parameters:
author: Example
catch_exceptions: 'True'
category: Custom
cmake_opt: ''
comment: ''
Expand All @@ -22,12 +23,11 @@ options:
sizing_mode: fixed
thread_safe_setters: ''
title: UHD Constant Wave
window_size: 1280, 1024
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [10, 9]
coordinate: [8, 12.0]
rotation: 0
state: enabled

Expand All @@ -50,7 +50,7 @@ blocks:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [170, 314]
coordinate: [168, 292.0]
rotation: 0
state: enabled
- name: tun_freq
Expand All @@ -71,7 +71,7 @@ blocks:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [31, 317]
coordinate: [32, 292.0]
rotation: 0
state: enabled
- name: tun_gain
Expand All @@ -92,7 +92,7 @@ blocks:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [302, 307]
coordinate: [304, 292.0]
rotation: 0
state: enabled
- name: address
Expand All @@ -104,12 +104,12 @@ blocks:
label: IP Address
short_id: a
type: ''
value: addr=192.168.10.2
value: '"addr=192.168.10.2"'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [188, 12]
coordinate: [184, 12.0]
rotation: 0
state: enabled
- name: analog_const_source_x_0
Expand All @@ -126,7 +126,7 @@ blocks:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [80, 220.0]
coordinate: [64, 204.0]
rotation: 0
state: enabled
- name: freq
Expand All @@ -143,7 +143,7 @@ blocks:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [468, 14]
coordinate: [456, 12.0]
rotation: 0
state: enabled
- name: gain
Expand All @@ -160,7 +160,7 @@ blocks:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [616, 13]
coordinate: [608, 12.0]
rotation: 0
state: enabled
- name: samp_rate
Expand All @@ -177,7 +177,7 @@ blocks:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [342, 14]
coordinate: [336, 12.0]
rotation: 0
state: enabled
- name: uhd_usrp_sink_0
Expand Down Expand Up @@ -453,7 +453,7 @@ blocks:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [312, 164.0]
coordinate: [304, 148.0]
rotation: 0
state: enabled

Expand Down
67 changes: 33 additions & 34 deletions gr-uhd/examples/grc/uhd_fft.grc
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,11 @@ options:
sizing_mode: fixed
thread_safe_setters: ''
title: UHD FFT
window_size: 1280, 1024
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [-1, -3]
coordinate: [8, 4.0]
rotation: 0
state: enabled

Expand Down Expand Up @@ -60,7 +59,7 @@ blocks:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [664, 435]
coordinate: [704, 220.0]
rotation: 0
state: enabled
- name: chan0_lo_locked
Expand All @@ -76,9 +75,9 @@ blocks:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [888, 131]
coordinate: [880, 132.0]
rotation: 0
state: enabled
state: disabled
- name: current_freq_c
id: variable_function_probe
parameters:
Expand All @@ -92,9 +91,9 @@ blocks:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [888, 267]
coordinate: [880, 252.0]
rotation: 0
state: enabled
state: disabled
- name: freq_c
id: variable_qtgui_entry
parameters:
Expand All @@ -107,7 +106,7 @@ blocks:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [528, 347]
coordinate: [304, 220.0]
rotation: 0
state: enabled
- name: gain_
Expand All @@ -128,7 +127,7 @@ blocks:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [656, 211]
coordinate: [584, 220.0]
rotation: 0
state: enabled
- name: lo_locked_probe
Expand All @@ -144,9 +143,9 @@ blocks:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [528, 435]
coordinate: [880, 372.0]
rotation: 0
state: enabled
state: disabled
- name: samp_rate_
id: variable_qtgui_entry
parameters:
Expand All @@ -159,7 +158,7 @@ blocks:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [680, 347]
coordinate: [456, 220.0]
rotation: 0
state: enabled
- name: uhd_version_info
Expand All @@ -175,7 +174,7 @@ blocks:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [536, 131]
coordinate: [456, 132.0]
rotation: 0
state: enabled
- name: usrp_device_info
Expand All @@ -191,7 +190,7 @@ blocks:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [712, 131]
coordinate: [632, 132.0]
rotation: 0
state: enabled
- name: antenna
Expand All @@ -203,12 +202,12 @@ blocks:
label: Antenna
short_id: A
type: ''
value: RX2
value: '"RX2"'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [792, 3]
coordinate: [784, 4.0]
rotation: 0
state: enabled
- name: args
Expand All @@ -220,12 +219,12 @@ blocks:
label: UHD device address args
short_id: a
type: ''
value: ''
value: '""'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [176, -5]
coordinate: [176, 4.0]
rotation: 0
state: enabled
- name: display
Expand Down Expand Up @@ -259,7 +258,7 @@ blocks:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [6, 178]
coordinate: [8, 180.0]
rotation: 0
state: enabled
- name: fft_size
Expand All @@ -276,7 +275,7 @@ blocks:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [1104, -5]
coordinate: [1104, 4.0]
rotation: 0
state: enabled
- name: freq
Expand All @@ -293,7 +292,7 @@ blocks:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [478, 0]
coordinate: [464, 4.0]
rotation: 0
state: enabled
- name: gain
Expand All @@ -310,7 +309,7 @@ blocks:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [632, 3]
coordinate: [616, 4.0]
rotation: 0
state: enabled
- name: import_0
Expand All @@ -323,7 +322,7 @@ blocks:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [4, 105]
coordinate: [8, 124.0]
rotation: 0
state: enabled
- name: qtgui_freq_sink_x_0
Expand Down Expand Up @@ -403,7 +402,7 @@ blocks:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [56, 288.0]
coordinate: [64, 296.0]
rotation: 180
state: enabled
- name: qtgui_time_sink_x_0
Expand Down Expand Up @@ -500,7 +499,7 @@ blocks:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [336, 540.0]
coordinate: [336, 484.0]
rotation: 0
state: enabled
- name: qtgui_waterfall_sink_x_0
Expand Down Expand Up @@ -561,7 +560,7 @@ blocks:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [336, 432.0]
coordinate: [336, 360.0]
rotation: 0
state: enabled
- name: samp_rate
Expand All @@ -578,7 +577,7 @@ blocks:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [352, -5]
coordinate: [344, 4.0]
rotation: 0
state: enabled
- name: spec
Expand All @@ -590,12 +589,12 @@ blocks:
label: Subdev
short_id: ''
type: ''
value: ''
value: '""'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [888, -13]
coordinate: [888, 4.0]
rotation: 0
state: enabled
- name: stream_args
Expand All @@ -607,12 +606,12 @@ blocks:
label: Set additional stream args
short_id: ''
type: ''
value: ''
value: '""'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [176, 115]
coordinate: [176, 92.0]
rotation: 0
state: enabled
- name: uhd_usrp_source_0
Expand Down Expand Up @@ -1000,7 +999,7 @@ blocks:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [1104, 107]
coordinate: [1104, 108.0]
rotation: 0
state: enabled
- name: wire_format
Expand All @@ -1012,12 +1011,12 @@ blocks:
label: Wire format
short_id: ''
type: ''
value: ''
value: '""'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [984, -5]
coordinate: [984, 4.0]
rotation: 0
state: enabled

Expand Down
Loading

0 comments on commit 27f54cb

Please sign in to comment.