summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorduggabe <47478634+duggabe@users.noreply.github.com>2020-06-11 11:31:14 -0500
committerGitHub <noreply@github.com>2020-06-11 12:31:14 -0400
commit963816bce28c3e73fb8f4d0fcf91c6a272838a74 (patch)
tree9e148b4a92b5e5c98f5e8f7251ddf77368828e8a
parent5a2983534fa1faac49528aa41c6cacad806a70d8 (diff)
docs: add and revise flowgraphs for qt_gui examples
* add and revise flowgraphs for qt_gui examples * revise test_qtgui_msg.grc * add mpsk_stage6.grc to gr-digital/examples
-rw-r--r--gr-digital/examples/mpsk_stage6.grc954
-rw-r--r--gr-qtgui/examples/Bercurve_Sink.txt2
-rw-r--r--gr-qtgui/examples/Number_Sink.grc173
-rw-r--r--gr-qtgui/examples/gui_sink.grc194
-rw-r--r--gr-qtgui/examples/test_qtgui_msg.grc141
5 files changed, 1412 insertions, 52 deletions
diff --git a/gr-digital/examples/mpsk_stage6.grc b/gr-digital/examples/mpsk_stage6.grc
new file mode 100644
index 0000000000..44fa67d6cb
--- /dev/null
+++ b/gr-digital/examples/mpsk_stage6.grc
@@ -0,0 +1,954 @@
+options:
+ parameters:
+ author: ''
+ category: Custom
+ cmake_opt: ''
+ comment: ''
+ copyright: ''
+ description: ''
+ gen_cmake: 'On'
+ gen_linking: dynamic
+ generate_options: qt_gui
+ hier_block_src_path: '.:'
+ id: mpsk_stage6
+ 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: mpsk_stage6.grc
+ window_size: 2000,2000
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [16, 20.0]
+ rotation: 0
+ state: enabled
+
+blocks:
+- name: arity
+ id: variable
+ parameters:
+ comment: ''
+ value: '4'
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [272, 20.0]
+ rotation: 0
+ state: enabled
+- name: delay
+ id: variable_qtgui_range
+ parameters:
+ comment: ''
+ gui_hint: 1,0,1,1
+ label: Delay
+ min_len: '200'
+ orient: Qt.Horizontal
+ rangeType: float
+ start: '0'
+ step: '1'
+ stop: '200'
+ value: '0'
+ widget: counter_slider
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [760, 500.0]
+ rotation: 0
+ state: enabled
+- name: eq_gain
+ id: variable_qtgui_range
+ parameters:
+ comment: ''
+ gui_hint: 'controls@1: 0,1,1,1'
+ label: 'Equalizer: rate'
+ min_len: '200'
+ orient: Qt.Horizontal
+ rangeType: float
+ start: '0.0'
+ step: '0.001'
+ stop: '0.1'
+ value: '0.01'
+ widget: slider
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [1008, 500.0]
+ rotation: 0
+ state: enabled
+- name: excess_bw
+ id: variable
+ parameters:
+ comment: ''
+ value: '0.35'
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [416, 20.0]
+ rotation: 0
+ state: enabled
+- name: freq_offset
+ id: variable_qtgui_range
+ parameters:
+ comment: ''
+ gui_hint: 'controls@0: 0,1,1,1'
+ label: Frequency Offset
+ min_len: '200'
+ orient: Qt.Horizontal
+ rangeType: float
+ start: '-0.1'
+ step: '0.001'
+ stop: '0.1'
+ value: '0'
+ widget: counter_slider
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [16, 500.0]
+ rotation: 0
+ state: enabled
+- name: nfilts
+ id: variable
+ parameters:
+ comment: ''
+ value: '32'
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [696, 20.0]
+ rotation: 0
+ state: enabled
+- name: noise_volt
+ id: variable_qtgui_range
+ parameters:
+ comment: ''
+ gui_hint: 'controls@0: 0,0,1,1'
+ label: Noise Voltage
+ min_len: '200'
+ orient: Qt.Vertical
+ rangeType: float
+ start: '0'
+ step: '0.01'
+ stop: '1'
+ value: '0.0001'
+ widget: counter_slider
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [16, 372.0]
+ rotation: 0
+ state: enabled
+- name: phase_bw
+ id: variable_qtgui_range
+ parameters:
+ comment: ''
+ gui_hint: 'controls@1: 0,2,1,1'
+ label: 'Phase: Bandwidth'
+ min_len: '200'
+ orient: Qt.Horizontal
+ rangeType: float
+ start: '0.0'
+ step: '0.01'
+ stop: '1.0'
+ value: 6.28/100.0
+ widget: slider
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [1136, 500.0]
+ rotation: 0
+ state: enabled
+- name: qpsk
+ id: variable_constellation_rect
+ parameters:
+ comment: ''
+ const_points: '[0.707+0.707j, -0.707+0.707j, -0.707-0.707j, 0.707-0.707j]'
+ imag_sect: '2'
+ precision: '8'
+ real_sect: '2'
+ rot_sym: '4'
+ soft_dec_lut: None
+ sym_map: '[0, 1, 2, 3]'
+ w_imag_sect: '1'
+ w_real_sect: '1'
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [16, 204.0]
+ rotation: 0
+ state: enabled
+- name: rrc_taps
+ id: variable
+ parameters:
+ comment: ''
+ value: firdes.root_raised_cosine(nfilts, nfilts, 1.0/float(sps), 0.35, 11*sps*nfilts)
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [768, 20.0]
+ rotation: 0
+ state: enabled
+- name: samp_rate
+ id: variable
+ parameters:
+ comment: ''
+ value: '32000'
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [184, 20.0]
+ rotation: 0
+ state: enabled
+- name: sps
+ id: variable
+ parameters:
+ comment: ''
+ value: '4'
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [344, 20.0]
+ rotation: 0
+ state: enabled
+- name: taps
+ id: variable
+ parameters:
+ comment: ''
+ value: '[1.0, 0.25-0.25j, 0.50 + 0.10j, -0.3 + 0.2j]'
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [512, 20.0]
+ rotation: 0
+ state: enabled
+- name: time_offset
+ id: variable_qtgui_range
+ parameters:
+ comment: ''
+ gui_hint: 'controls@0: 0,2,1,1'
+ label: Timing Offset
+ min_len: '200'
+ orient: Qt.Horizontal
+ rangeType: float
+ start: '0.999'
+ step: '0.0001'
+ stop: '1.001'
+ value: '1.00'
+ widget: counter_slider
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [160, 500.0]
+ rotation: 0
+ state: enabled
+- name: timing_loop_bw
+ id: variable_qtgui_range
+ parameters:
+ comment: ''
+ gui_hint: 'controls@1: 0,0,1,1'
+ label: 'Time: BW'
+ min_len: '200'
+ orient: Qt.Horizontal
+ rangeType: float
+ start: '0.0'
+ step: '0.01'
+ stop: '0.2'
+ value: 6.28/100.0
+ widget: slider
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [872, 500.0]
+ rotation: 0
+ state: enabled
+- name: analog_random_source_x_0
+ id: analog_random_source_x
+ parameters:
+ affinity: ''
+ alias: ''
+ comment: ''
+ max: '256'
+ maxoutbuf: '0'
+ min: '0'
+ minoutbuf: '0'
+ num_samps: '10000'
+ repeat: 'True'
+ type: byte
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [16, 100.0]
+ rotation: 0
+ state: enabled
+- name: blocks_char_to_float_0
+ id: blocks_char_to_float
+ parameters:
+ affinity: ''
+ alias: ''
+ comment: ''
+ maxoutbuf: '0'
+ minoutbuf: '0'
+ scale: '1'
+ vlen: '1'
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [624, 348.0]
+ rotation: 0
+ state: enabled
+- name: blocks_char_to_float_0_0
+ id: blocks_char_to_float
+ parameters:
+ affinity: ''
+ alias: ''
+ comment: ''
+ maxoutbuf: '0'
+ minoutbuf: '0'
+ scale: '1'
+ vlen: '1'
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [624, 420.0]
+ rotation: 0
+ state: enabled
+- name: blocks_char_to_float_0_0_0
+ id: blocks_char_to_float
+ parameters:
+ affinity: ''
+ alias: ''
+ comment: ''
+ maxoutbuf: '0'
+ minoutbuf: '0'
+ scale: '1'
+ vlen: '1'
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [480, 476.0]
+ rotation: 0
+ state: enabled
+- name: blocks_delay_0
+ id: blocks_delay
+ parameters:
+ affinity: ''
+ alias: ''
+ comment: ''
+ delay: int(delay)
+ maxoutbuf: '0'
+ minoutbuf: '0'
+ num_ports: '1'
+ type: float
+ vlen: '1'
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [640, 476.0]
+ 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: [424, 140.0]
+ rotation: 0
+ state: enabled
+- name: blocks_unpack_k_bits_bb_0
+ id: blocks_unpack_k_bits_bb
+ parameters:
+ affinity: ''
+ alias: ''
+ comment: ''
+ k: '2'
+ maxoutbuf: '0'
+ minoutbuf: '0'
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [464, 420.0]
+ rotation: 0
+ state: enabled
+- name: blocks_unpack_k_bits_bb_0_0
+ id: blocks_unpack_k_bits_bb
+ parameters:
+ affinity: ''
+ alias: ''
+ comment: ''
+ k: '8'
+ maxoutbuf: '0'
+ minoutbuf: '0'
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [272, 436.0]
+ rotation: 0
+ state: enabled
+- name: channels_channel_model_0
+ id: channels_channel_model
+ parameters:
+ affinity: ''
+ alias: ''
+ block_tags: 'False'
+ comment: ''
+ epsilon: time_offset
+ freq_offset: freq_offset
+ maxoutbuf: '0'
+ minoutbuf: '0'
+ noise_voltage: noise_volt
+ seed: '0'
+ taps: taps
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [592, 100.0]
+ rotation: 0
+ state: enabled
+- name: controls
+ id: qtgui_tab_widget
+ parameters:
+ alias: ''
+ comment: ''
+ gui_hint: 0,0,1,2
+ label0: Channel
+ label1: Receiver
+ 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: [288, 532.0]
+ rotation: 0
+ state: enabled
+- name: digital_cma_equalizer_cc_0
+ id: digital_cma_equalizer_cc
+ parameters:
+ affinity: ''
+ alias: ''
+ comment: ''
+ maxoutbuf: '0'
+ minoutbuf: '0'
+ modulus: '1'
+ mu: eq_gain
+ num_taps: '15'
+ sps: '2'
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [1080, 68.0]
+ rotation: 0
+ state: enabled
+- name: digital_constellation_decoder_cb_0
+ id: digital_constellation_decoder_cb
+ parameters:
+ affinity: ''
+ alias: ''
+ comment: ''
+ constellation: qpsk
+ maxoutbuf: '0'
+ minoutbuf: '0'
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [776, 268.0]
+ rotation: 180
+ state: true
+- name: digital_constellation_modulator_0
+ id: digital_constellation_modulator
+ parameters:
+ affinity: ''
+ alias: ''
+ comment: ''
+ constellation: qpsk
+ differential: 'True'
+ excess_bw: excess_bw
+ log: 'False'
+ maxoutbuf: '0'
+ minoutbuf: '0'
+ samples_per_symbol: sps
+ verbose: 'False'
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [184, 100.0]
+ rotation: 0
+ state: enabled
+- name: digital_costas_loop_cc_0
+ id: digital_costas_loop_cc
+ parameters:
+ affinity: ''
+ alias: ''
+ comment: ''
+ maxoutbuf: '0'
+ minoutbuf: '0'
+ order: arity
+ use_snr: 'False'
+ w: phase_bw
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [1064, 272.0]
+ rotation: 180
+ state: enabled
+- name: digital_diff_decoder_bb_0
+ id: digital_diff_decoder_bb
+ parameters:
+ affinity: ''
+ alias: ''
+ comment: ''
+ maxoutbuf: '0'
+ minoutbuf: '0'
+ modulus: '4'
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [408, 268.0]
+ rotation: 180
+ state: enabled
+- name: digital_map_bb_0
+ id: digital_map_bb
+ parameters:
+ affinity: ''
+ alias: ''
+ comment: ''
+ map: '[0,1,3,2]'
+ maxoutbuf: '0'
+ minoutbuf: '0'
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [608, 268.0]
+ rotation: 180
+ state: enabled
+- name: digital_pfb_clock_sync_xxx_0
+ id: digital_pfb_clock_sync_xxx
+ parameters:
+ affinity: ''
+ alias: ''
+ comment: ''
+ filter_size: nfilts
+ init_phase: nfilts/2
+ loop_bw: timing_loop_bw
+ max_dev: '1.5'
+ maxoutbuf: '0'
+ minoutbuf: '0'
+ osps: '2'
+ sps: sps
+ taps: rrc_taps
+ type: ccf
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [824, 92.0]
+ rotation: 0
+ state: enabled
+- 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: 'received@0: 0,0,1,1'
+ 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: '""'
+ nconnections: '1'
+ size: '1024'
+ 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_FREE
+ tr_slope: qtgui.TRIG_SLOPE_POS
+ tr_tag: '""'
+ 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'
+ xmax: '2'
+ xmin: '-2'
+ ymax: '2'
+ ymin: '-2'
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [1088, 196.0]
+ rotation: 0
+ state: enabled
+- 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: 'received@1: 0,0,1,1'
+ label1: Symbols
+ 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: ''
+ nconnections: '1'
+ size: '500'
+ 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: '4'
+ ymin: '-1'
+ yunit: '""'
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [784, 332.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: 2,1,1,1
+ label1: Rx Bits
+ label10: ''
+ label2: Tx Bits
+ 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: ''
+ nconnections: '2'
+ size: '256'
+ 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_AUTO
+ 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: '2'
+ ymin: '-1'
+ yunit: '""'
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [784, 420.0]
+ rotation: 0
+ state: enabled
+- name: received
+ id: qtgui_tab_widget
+ parameters:
+ alias: ''
+ comment: ''
+ gui_hint: 2,0,1,1
+ label0: Constellation
+ label1: Symbols
+ 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: [424, 532.0]
+ rotation: 0
+ state: enabled
+
+connections:
+- [analog_random_source_x_0, '0', blocks_unpack_k_bits_bb_0_0, '0']
+- [analog_random_source_x_0, '0', digital_constellation_modulator_0, '0']
+- [blocks_char_to_float_0, '0', qtgui_time_sink_x_0, '0']
+- [blocks_char_to_float_0_0, '0', qtgui_time_sink_x_0_0, '0']
+- [blocks_char_to_float_0_0_0, '0', blocks_delay_0, '0']
+- [blocks_delay_0, '0', qtgui_time_sink_x_0_0, '1']
+- [blocks_throttle_0, '0', channels_channel_model_0, '0']
+- [blocks_unpack_k_bits_bb_0, '0', blocks_char_to_float_0_0, '0']
+- [blocks_unpack_k_bits_bb_0_0, '0', blocks_char_to_float_0_0_0, '0']
+- [channels_channel_model_0, '0', digital_pfb_clock_sync_xxx_0, '0']
+- [digital_cma_equalizer_cc_0, '0', digital_costas_loop_cc_0, '0']
+- [digital_constellation_decoder_cb_0, '0', blocks_char_to_float_0, '0']
+- [digital_constellation_decoder_cb_0, '0', digital_map_bb_0, '0']
+- [digital_constellation_modulator_0, '0', blocks_throttle_0, '0']
+- [digital_costas_loop_cc_0, '0', digital_constellation_decoder_cb_0, '0']
+- [digital_costas_loop_cc_0, '0', qtgui_const_sink_x_0, '0']
+- [digital_diff_decoder_bb_0, '0', blocks_unpack_k_bits_bb_0, '0']
+- [digital_map_bb_0, '0', digital_diff_decoder_bb_0, '0']
+- [digital_pfb_clock_sync_xxx_0, '0', digital_cma_equalizer_cc_0, '0']
+
+metadata:
+ file_format: 1
diff --git a/gr-qtgui/examples/Bercurve_Sink.txt b/gr-qtgui/examples/Bercurve_Sink.txt
new file mode 100644
index 0000000000..cdbaa93da4
--- /dev/null
+++ b/gr-qtgui/examples/Bercurve_Sink.txt
@@ -0,0 +1,2 @@
+A QT_GUI_Bercurve_Sink example can be found at ~/gnuradio/gr-fec/examples/ber_curve_gen.grc
+
diff --git a/gr-qtgui/examples/Number_Sink.grc b/gr-qtgui/examples/Number_Sink.grc
new file mode 100644
index 0000000000..c25e176327
--- /dev/null
+++ b/gr-qtgui/examples/Number_Sink.grc
@@ -0,0 +1,173 @@
+options:
+ parameters:
+ author: ''
+ 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: Number_Sink
+ 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: Number_Sink demo
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [16, 12.0]
+ rotation: 0
+ state: enabled
+
+blocks:
+- name: freq
+ id: variable_qtgui_label
+ parameters:
+ comment: ''
+ formatter: None
+ gui_hint: ''
+ label: Frequency
+ type: real
+ value: '0.1'
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [288, 12.0]
+ rotation: 0
+ state: true
+- name: samp_rate
+ id: variable
+ parameters:
+ comment: ''
+ value: '32000'
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [192, 12.0]
+ rotation: 0
+ state: enabled
+- name: analog_sig_source_x_0
+ id: analog_sig_source_x
+ parameters:
+ affinity: ''
+ alias: ''
+ amp: '1'
+ comment: ''
+ freq: freq
+ maxoutbuf: '0'
+ minoutbuf: '0'
+ offset: '0'
+ phase: '0'
+ samp_rate: samp_rate
+ type: float
+ waveform: analog.GR_COS_WAVE
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [40, 148.0]
+ rotation: 0
+ state: true
+- name: blocks_throttle_0
+ id: blocks_throttle
+ parameters:
+ affinity: ''
+ alias: ''
+ comment: ''
+ ignoretag: 'True'
+ maxoutbuf: '0'
+ minoutbuf: '0'
+ samples_per_second: samp_rate
+ type: float
+ vlen: '1'
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [256, 188.0]
+ rotation: 0
+ state: true
+- 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_VERT
+ gui_hint: ''
+ label1: ''
+ label10: ''
+ label2: ''
+ label3: ''
+ label4: ''
+ label5: ''
+ label6: ''
+ label7: ''
+ label8: ''
+ label9: ''
+ max: '1'
+ min: '-1'
+ 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: [432, 172.0]
+ rotation: 0
+ state: true
+
+connections:
+- [analog_sig_source_x_0, '0', blocks_throttle_0, '0']
+- [blocks_throttle_0, '0', qtgui_number_sink_0, '0']
+
+metadata:
+ file_format: 1
diff --git a/gr-qtgui/examples/gui_sink.grc b/gr-qtgui/examples/gui_sink.grc
new file mode 100644
index 0000000000..494d853c3b
--- /dev/null
+++ b/gr-qtgui/examples/gui_sink.grc
@@ -0,0 +1,194 @@
+options:
+ parameters:
+ author: ''
+ catch_exceptions: 'True'
+ category: '[GRC Hier Blocks]'
+ cmake_opt: ''
+ comment: ''
+ copyright: ''
+ description: GUI Sink demo
+ gen_cmake: 'On'
+ gen_linking: dynamic
+ generate_options: qt_gui
+ hier_block_src_path: '.:'
+ id: gui_sink
+ 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: QT GUI Sink
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [16, 20.0]
+ rotation: 0
+ state: enabled
+
+blocks:
+- name: check_box
+ id: variable_qtgui_check_box
+ parameters:
+ comment: ''
+ 'false': '0'
+ gui_hint: ''
+ label: Add noise
+ 'true': '1'
+ type: int
+ value: '1'
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [304, 20.0]
+ rotation: 0
+ state: true
+- name: freq
+ id: variable_qtgui_entry
+ parameters:
+ comment: ''
+ gui_hint: ''
+ label: Frequency
+ type: int
+ value: '800'
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [480, 20.0]
+ rotation: 0
+ state: true
+- name: samp_rate
+ id: variable
+ parameters:
+ comment: ''
+ value: '100000'
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [192, 20.0]
+ rotation: 0
+ state: enabled
+- name: analog_noise_source_x_0
+ id: analog_noise_source_x
+ parameters:
+ affinity: ''
+ alias: ''
+ amp: check_box
+ comment: ''
+ maxoutbuf: '0'
+ minoutbuf: '0'
+ noise_type: analog.GR_GAUSSIAN
+ seed: '0'
+ type: complex
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [264, 300.0]
+ rotation: 0
+ state: true
+- name: analog_sig_source_x_0
+ id: analog_sig_source_x
+ parameters:
+ affinity: ''
+ alias: ''
+ amp: '1'
+ comment: ''
+ freq: freq
+ maxoutbuf: '0'
+ minoutbuf: '0'
+ offset: '0'
+ phase: '0'
+ samp_rate: samp_rate
+ type: complex
+ waveform: analog.GR_COS_WAVE
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [64, 172.0]
+ rotation: 0
+ state: true
+- name: blocks_add_xx_0
+ id: blocks_add_xx
+ parameters:
+ affinity: ''
+ alias: ''
+ comment: ''
+ maxoutbuf: '0'
+ minoutbuf: '0'
+ num_inputs: '2'
+ type: complex
+ vlen: '1'
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [496, 216.0]
+ rotation: 0
+ state: true
+- 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: [296, 212.0]
+ rotation: 0
+ state: true
+- 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: QT GUI Sink demo
+ plotconst: 'True'
+ plotfreq: 'True'
+ plottime: 'True'
+ plotwaterfall: 'True'
+ rate: '10'
+ showports: 'False'
+ showrf: 'False'
+ type: complex
+ wintype: firdes.WIN_BLACKMAN_hARRIS
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [616, 212.0]
+ rotation: 0
+ state: true
+
+connections:
+- [analog_noise_source_x_0, '0', blocks_add_xx_0, '1']
+- [analog_sig_source_x_0, '0', blocks_throttle_0, '0']
+- [blocks_add_xx_0, '0', qtgui_sink_x_0, '0']
+- [blocks_throttle_0, '0', blocks_add_xx_0, '0']
+
+metadata:
+ file_format: 1
diff --git a/gr-qtgui/examples/test_qtgui_msg.grc b/gr-qtgui/examples/test_qtgui_msg.grc
index e0ce53aa2d..5c8aaf5771 100644
--- a/gr-qtgui/examples/test_qtgui_msg.grc
+++ b/gr-qtgui/examples/test_qtgui_msg.grc
@@ -1,6 +1,7 @@
options:
parameters:
author: ''
+ catch_exceptions: 'True'
category: Custom
cmake_opt: ''
comment: ''
@@ -21,10 +22,12 @@ options:
run_options: prompt
sizing_mode: fixed
thread_safe_setters: ''
- title: ''
- window_size: ''
+ title: Show spectrum analyzer
states:
- coordinate: [8, 11]
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [16, 12.0]
rotation: 0
state: enabled
@@ -33,9 +36,12 @@ blocks:
id: variable
parameters:
comment: ''
- value: '32000'
+ value: '192000'
states:
- coordinate: [168, 11]
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [192, 12.0]
rotation: 0
state: enabled
- name: analog_sig_source_x_0
@@ -49,11 +55,15 @@ blocks:
maxoutbuf: '0'
minoutbuf: '0'
offset: '0'
+ phase: '0'
samp_rate: samp_rate
type: complex
waveform: analog.GR_COS_WAVE
states:
- coordinate: [40, 180.0]
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [32, 108.0]
rotation: 0
state: enabled
- name: blocks_message_debug_0
@@ -63,66 +73,87 @@ blocks:
alias: ''
comment: ''
states:
- coordinate: [1104, 272.0]
- rotation: 0
- state: enabled
-- name: qtgui_edit_box_msg_0
- id: qtgui_edit_box_msg
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [440, 344.0]
+ rotation: 180
+ state: disabled
+- name: blocks_throttle_0
+ id: blocks_throttle
parameters:
affinity: ''
alias: ''
comment: ''
- gui_hint: 0,0,1,1
- is_pair: 'True'
- is_static: 'True'
- key: freq
- label: Frequency
+ ignoretag: 'True'
maxoutbuf: '0'
minoutbuf: '0'
- type: float
- value: ''
+ samples_per_second: samp_rate
+ type: complex
+ vlen: '1'
states:
- coordinate: [360, 204.0]
- rotation: 180
- state: enabled
-- name: qtgui_edit_box_msg_0_0
- id: qtgui_edit_box_msg
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [240, 148.0]
+ rotation: 0
+ state: true
+- name: freq_xlating_fir_filter_xxx_0
+ id: freq_xlating_fir_filter_xxx
parameters:
affinity: ''
alias: ''
+ center_freq: '0'
comment: ''
- gui_hint: 3,1,1,1
- is_pair: 'False'
- is_static: 'False'
- key: vec
- label: ''
+ decim: '1'
maxoutbuf: '0'
minoutbuf: '0'
- type: int_vec
- value: '3'
+ samp_rate: samp_rate
+ taps: firdes.low_pass(1,samp_rate,samp_rate/2, samp_rate/8)
+ type: ccf
states:
- coordinate: [808, 108.0]
- rotation: 180
- state: disabled
-- name: qtgui_edit_box_msg_0_0_0
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [424, 140.0]
+ rotation: 0
+ state: true
+- name: note_0
+ id: note
+ parameters:
+ alias: ''
+ comment: "The Throttle and Frequency Xlating FIR Filter blocks\nare emulating\
+ \ a hardware device such as a USRP \nwhich is tuned by a message."
+ note: View Block Comments
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [312, 36.0]
+ rotation: 0
+ state: true
+- name: qtgui_edit_box_msg_0
id: qtgui_edit_box_msg
parameters:
affinity: ''
alias: ''
comment: ''
- gui_hint: 3,0,1,1
- is_pair: 'False'
- is_static: 'False'
- key: vec
- label: '"To Message Debug"'
+ gui_hint: 0,0,1,1
+ is_pair: 'True'
+ is_static: 'True'
+ key: freq
+ label: Frequency
maxoutbuf: '0'
minoutbuf: '0'
- type: int_vec
- value: '5'
+ type: float
+ value: '0'
states:
- coordinate: [808, 236.0]
- rotation: 0
- state: disabled
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [728, 284.0]
+ rotation: 180
+ state: enabled
- name: qtgui_freq_sink_x_0
id: qtgui_freq_sink_x
parameters:
@@ -197,7 +228,10 @@ blocks:
ymax: '10'
ymin: '-140'
states:
- coordinate: [376, 336.0]
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [744, 168.0]
rotation: 0
state: enabled
- name: qtgui_waterfall_sink_x_0
@@ -255,19 +289,22 @@ blocks:
update_time: '0.10'
wintype: firdes.WIN_BLACKMAN_hARRIS
states:
- coordinate: [376, 96.0]
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [744, 32.0]
rotation: 0
state: enabled
connections:
-- [analog_sig_source_x_0, '0', qtgui_freq_sink_x_0, '0']
-- [analog_sig_source_x_0, '0', qtgui_waterfall_sink_x_0, '0']
-- [qtgui_edit_box_msg_0, msg, analog_sig_source_x_0, freq]
+- [analog_sig_source_x_0, '0', blocks_throttle_0, '0']
+- [blocks_throttle_0, '0', freq_xlating_fir_filter_xxx_0, '0']
+- [freq_xlating_fir_filter_xxx_0, '0', qtgui_freq_sink_x_0, '0']
+- [freq_xlating_fir_filter_xxx_0, '0', qtgui_waterfall_sink_x_0, '0']
+- [qtgui_edit_box_msg_0, msg, blocks_message_debug_0, print]
+- [qtgui_edit_box_msg_0, msg, freq_xlating_fir_filter_xxx_0, freq]
- [qtgui_edit_box_msg_0, msg, qtgui_freq_sink_x_0, freq]
- [qtgui_edit_box_msg_0, msg, qtgui_waterfall_sink_x_0, freq]
-- [qtgui_edit_box_msg_0_0, msg, qtgui_edit_box_msg_0_0_0, val]
-- [qtgui_edit_box_msg_0_0_0, msg, blocks_message_debug_0, print]
-- [qtgui_edit_box_msg_0_0_0, msg, qtgui_edit_box_msg_0_0, val]
- [qtgui_freq_sink_x_0, freq, qtgui_edit_box_msg_0, val]
- [qtgui_waterfall_sink_x_0, freq, qtgui_edit_box_msg_0, val]