summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Pi <david.pinho@gmail.com>2020-10-29 19:26:27 +0000
committermormj <34754695+mormj@users.noreply.github.com>2020-11-04 08:57:36 -0500
commit02329311f37c86997d60b5ab8804ac1a493bde21 (patch)
tree3435ab22ce1377b0028bc5046dff5047bd34341c
parented95e8d45cfc6cd3e026298dadf4d2e8f9f1c3b8 (diff)
gr-blocks: Add example flowgraphs for Stream Mux/Demux blocks.
Add a couple of example flowgraphs for these blocks. Usage is demonstrated in the wiki page of each block.
-rw-r--r--gr-blocks/examples/CMakeLists.txt3
-rw-r--r--gr-blocks/examples/stream_demux_demo.grc548
-rw-r--r--gr-blocks/examples/stream_mux_demo.grc (renamed from gr-blocks/examples/test_stream_mux_tags.grc)342
3 files changed, 769 insertions, 124 deletions
diff --git a/gr-blocks/examples/CMakeLists.txt b/gr-blocks/examples/CMakeLists.txt
index 1de32fbb1f..4529e7fe62 100644
--- a/gr-blocks/examples/CMakeLists.txt
+++ b/gr-blocks/examples/CMakeLists.txt
@@ -11,7 +11,8 @@ install(
peak_detector2.grc
py_snippets_demo.grc
selector.grc
- test_stream_mux_tags.grc
+ stream_mux_demo.grc
+ stream_demux_demo.grc
vector_source_with_tags.grc
msg_to_var.grc
var_to_msg.grc
diff --git a/gr-blocks/examples/stream_demux_demo.grc b/gr-blocks/examples/stream_demux_demo.grc
new file mode 100644
index 0000000000..5a52d769f0
--- /dev/null
+++ b/gr-blocks/examples/stream_demux_demo.grc
@@ -0,0 +1,548 @@
+options:
+ parameters:
+ author: David Pi
+ catch_exceptions: 'True'
+ category: '[GRC Hier Blocks]'
+ cmake_opt: ''
+ comment: ''
+ copyright: GNU GPL 3.0+
+ description: Demonstration of the Stream Demux block
+ gen_cmake: 'On'
+ gen_linking: dynamic
+ generate_options: qt_gui
+ hier_block_src_path: '.:'
+ id: stream_demux_demo
+ 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: Stream Demux demo
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [8, 8]
+ rotation: 0
+ state: enabled
+
+blocks:
+- name: samp_rate
+ id: variable
+ parameters:
+ comment: ''
+ value: '32000'
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [200, 12.0]
+ rotation: 0
+ state: enabled
+- name: tag0
+ id: variable_tag_object
+ parameters:
+ comment: ''
+ key: pmt.intern("key0")
+ offset: '0'
+ src: pmt.intern("src")
+ value: pmt.intern("value0")
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [304, 12.0]
+ rotation: 0
+ state: true
+- name: tag1
+ id: variable_tag_object
+ parameters:
+ comment: ''
+ key: pmt.intern("key1")
+ offset: '2'
+ src: pmt.intern("src")
+ value: pmt.intern("value1")
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [416, 12.0]
+ rotation: 0
+ state: true
+- name: tag2
+ id: variable_tag_object
+ parameters:
+ comment: ''
+ key: pmt.intern("key2")
+ offset: '5'
+ src: pmt.intern("src")
+ value: pmt.intern("value2")
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [528, 12.0]
+ rotation: 0
+ state: true
+- name: blocks_stream_demux_0
+ id: blocks_stream_demux
+ parameters:
+ affinity: ''
+ alias: ''
+ comment: ''
+ lengths: (2,3,4)
+ maxoutbuf: '0'
+ minoutbuf: '0'
+ num_outputs: '3'
+ type: float
+ vlen: '1'
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [584, 344]
+ 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: [368, 372.0]
+ rotation: 0
+ state: true
+- name: blocks_vector_source_x_0
+ id: blocks_vector_source_x
+ parameters:
+ affinity: ''
+ alias: ''
+ comment: ''
+ maxoutbuf: '0'
+ minoutbuf: '0'
+ repeat: 'True'
+ tags: '[tag0, tag1, tag2]'
+ type: float
+ vector: range(0,18)
+ vlen: '1'
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [136, 356.0]
+ rotation: 0
+ 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: 'True'
+ gui_hint: 0,0,1,3
+ 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: '0'
+ marker10: '-1'
+ marker2: '-1'
+ marker3: '-1'
+ marker4: '-1'
+ marker5: '-1'
+ marker6: '-1'
+ marker7: '-1'
+ marker8: '-1'
+ marker9: '-1'
+ name: '"Input stream"'
+ 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: '20'
+ ymin: '-1'
+ yunit: '""'
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [336, 228.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: 1,2,1,1
+ 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: '0'
+ marker10: '-1'
+ marker2: '-1'
+ marker3: '-1'
+ marker4: '-1'
+ marker5: '-1'
+ marker6: '-1'
+ marker7: '-1'
+ marker8: '-1'
+ marker9: '-1'
+ name: '"Output stream 2"'
+ 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: '20'
+ ymin: '-1'
+ yunit: '""'
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [773, 473]
+ rotation: 0
+ state: true
+- name: qtgui_time_sink_x_0_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: 1,0,1,1
+ 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: '0'
+ marker10: '-1'
+ marker2: '-1'
+ marker3: '-1'
+ marker4: '-1'
+ marker5: '-1'
+ marker6: '-1'
+ marker7: '-1'
+ marker8: '-1'
+ marker9: '-1'
+ name: '"Output stream 0"'
+ 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: '20'
+ ymin: '-1'
+ yunit: '""'
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [767, 215]
+ rotation: 0
+ state: true
+- name: qtgui_time_sink_x_0_0_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: 1,1,1,1
+ 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: '0'
+ marker10: '-1'
+ marker2: '-1'
+ marker3: '-1'
+ marker4: '-1'
+ marker5: '-1'
+ marker6: '-1'
+ marker7: '-1'
+ marker8: '-1'
+ marker9: '-1'
+ name: '"Output stream 1"'
+ 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: '12'
+ ymin: '-1'
+ yunit: '""'
+ states:
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [802, 348]
+ rotation: 0
+ state: true
+
+connections:
+- [blocks_stream_demux_0, '0', qtgui_time_sink_x_0_0_0, '0']
+- [blocks_stream_demux_0, '1', qtgui_time_sink_x_0_0_0_0, '0']
+- [blocks_stream_demux_0, '2', qtgui_time_sink_x_0_0, '0']
+- [blocks_throttle_0, '0', blocks_stream_demux_0, '0']
+- [blocks_vector_source_x_0, '0', blocks_throttle_0, '0']
+- [blocks_vector_source_x_0, '0', qtgui_time_sink_x_0, '0']
+
+metadata:
+ file_format: 1
diff --git a/gr-blocks/examples/test_stream_mux_tags.grc b/gr-blocks/examples/stream_mux_demo.grc
index 6930bfd299..6ce814ddd0 100644
--- a/gr-blocks/examples/test_stream_mux_tags.grc
+++ b/gr-blocks/examples/stream_mux_demo.grc
@@ -1,16 +1,16 @@
options:
parameters:
- author: ''
- category: Custom
+ author: David Pi
+ category: '[GRC Hier Blocks]'
cmake_opt: ''
comment: ''
- copyright: ''
- description: ''
+ copyright: GNU GPL 3.0+
+ description: Demonstration of the Stream Mux block
gen_cmake: 'On'
gen_linking: dynamic
generate_options: qt_gui
hier_block_src_path: '.:'
- id: test_stream_mux_tags
+ id: stream_mux_demo
max_nouts: '0'
output_language: python
placement: (0,0)
@@ -21,10 +21,13 @@ options:
run_options: prompt
sizing_mode: fixed
thread_safe_setters: ''
- title: ''
+ title: Stream Mux demo
window_size: ''
states:
- coordinate: [8, 13]
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [8, 8]
rotation: 0
state: enabled
@@ -35,61 +38,61 @@ blocks:
comment: ''
value: '32000'
states:
- coordinate: [192, 13]
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [200, 12.0]
rotation: 0
state: enabled
-- name: tag1
- id: variable_tag_object
- parameters:
- comment: ''
- key: pmt.intern("mark1")
- offset: '1'
- src: pmt.intern("src")
- value: pmt.PMT_T
- states:
- coordinate: [80, 108.0]
- rotation: 0
- state: enabled
-- name: tag2
+- name: tag0
id: variable_tag_object
parameters:
comment: ''
- key: pmt.intern("mark2")
- offset: '2'
+ key: pmt.intern("key0")
+ offset: '0'
src: pmt.intern("src")
- value: pmt.PMT_T
+ value: pmt.intern("value0")
states:
- coordinate: [80, 220.0]
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [320, 12.0]
rotation: 0
- state: enabled
-- name: tag3
+ state: true
+- name: tag1
id: variable_tag_object
parameters:
comment: ''
- key: pmt.intern("mark3")
- offset: '3'
+ key: pmt.intern("key1")
+ offset: '0'
src: pmt.intern("src")
- value: pmt.PMT_T
+ value: pmt.intern("value1")
states:
- coordinate: [80, 332.0]
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [424, 12.0]
rotation: 0
- state: enabled
+ state: true
- name: blocks_stream_mux_0
id: blocks_stream_mux
parameters:
affinity: ''
alias: ''
comment: ''
- lengths: (4,4,4)
+ lengths: '[3, 2]'
maxoutbuf: '0'
minoutbuf: '0'
- num_inputs: '3'
+ num_inputs: '2'
type: float
vlen: '1'
states:
- coordinate: [560, 296.0]
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [328, 296.0]
rotation: 0
- state: enabled
+ state: true
- name: blocks_throttle_0
id: blocks_throttle
parameters:
@@ -103,9 +106,12 @@ blocks:
type: float
vlen: '1'
states:
- coordinate: [720, 324.0]
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [488, 308.0]
rotation: 0
- state: enabled
+ state: true
- name: blocks_vector_source_x_0
id: blocks_vector_source_x
parameters:
@@ -115,14 +121,17 @@ blocks:
maxoutbuf: '0'
minoutbuf: '0'
repeat: 'True'
- tags: '[tag1]'
+ tags: '[tag0]'
type: float
- vector: (0, 1, 0, 0)
+ vector: (0, 1, 2, 5, 6, 7)
vlen: '1'
states:
- coordinate: [192, 116.0]
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [112, 228.0]
rotation: 0
- state: enabled
+ state: true
- name: blocks_vector_source_x_0_0
id: blocks_vector_source_x
parameters:
@@ -132,32 +141,115 @@ blocks:
maxoutbuf: '0'
minoutbuf: '0'
repeat: 'True'
- tags: '[tag2]'
+ tags: '[tag1]'
type: float
- vector: (0, 0, 2, 0)
+ vector: (3, 4, 8, 9)
vlen: '1'
states:
- coordinate: [192, 228.0]
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [112, 348.0]
rotation: 0
- state: enabled
-- name: blocks_vector_source_x_0_1
- id: blocks_vector_source_x
+ 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: ''
- maxoutbuf: '0'
- minoutbuf: '0'
- repeat: 'True'
- tags: '[tag3]'
+ ctrlpanel: 'False'
+ entags: 'True'
+ grid: 'True'
+ gui_hint: 1,0,1,2
+ 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: '0'
+ marker10: '-1'
+ marker2: '-1'
+ marker3: '-1'
+ marker4: '-1'
+ marker5: '-1'
+ marker6: '-1'
+ marker7: '-1'
+ marker8: '-1'
+ marker9: '-1'
+ name: '"Output stream"'
+ 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
- vector: (0, 0, 0, 3)
- vlen: '1'
+ 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: '12'
+ ymin: '-1'
+ yunit: '""'
states:
- coordinate: [192, 340.0]
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [680, 284.0]
rotation: 0
- state: enabled
-- name: qtgui_time_sink_x_0
+ state: true
+- name: qtgui_time_sink_x_0_0
id: qtgui_time_sink_x
parameters:
affinity: ''
@@ -174,33 +266,33 @@ blocks:
alpha9: '1.0'
autoscale: 'False'
axislabels: 'True'
- color1: '"blue"'
- color10: '"blue"'
- color2: '"red"'
- color3: '"green"'
- color4: '"black"'
- color5: '"cyan"'
- color6: '"magenta"'
- color7: '"yellow"'
- color8: '"dark red"'
- color9: '"dark green"'
+ 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: ''
- label10: ''
- label2: ''
- label3: ''
- label4: ''
- label5: ''
- label6: ''
- label7: ''
- label8: ''
- label9: ''
+ grid: 'True'
+ gui_hint: 0,0,1,1
+ 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'
+ marker1: '0'
marker10: '-1'
marker2: '-1'
marker3: '-1'
@@ -210,10 +302,10 @@ blocks:
marker7: '-1'
marker8: '-1'
marker9: '-1'
- name: '"Mux''d streams"'
+ name: '"Input stream 0"'
nconnections: '1'
- size: '100'
- srate: '1'
+ size: '1024'
+ srate: samp_rate
stemplot: 'False'
style1: '1'
style10: '1'
@@ -244,14 +336,17 @@ blocks:
width8: '1'
width9: '1'
ylabel: Amplitude
- ymax: '5'
+ ymax: '20'
ymin: '-1'
yunit: '""'
states:
- coordinate: [896, 300.0]
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [328, 180.0]
rotation: 0
- state: enabled
-- name: qtgui_time_sink_x_0_0
+ state: true
+- name: qtgui_time_sink_x_0_0_0
id: qtgui_time_sink_x
parameters:
affinity: ''
@@ -268,33 +363,33 @@ blocks:
alpha9: '1.0'
autoscale: 'False'
axislabels: 'True'
- color1: '"blue"'
- color10: '"blue"'
- color2: '"red"'
- color3: '"green"'
- color4: '"black"'
- color5: '"cyan"'
- color6: '"magenta"'
- color7: '"yellow"'
- color8: '"dark red"'
- color9: '"dark green"'
+ 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: ''
- label10: ''
- label2: ''
- label3: ''
- label4: ''
- label5: ''
- label6: ''
- label7: ''
- label8: ''
- label9: ''
+ grid: 'True'
+ gui_hint: 0,1,1,1
+ 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'
+ marker1: '0'
marker10: '-1'
marker2: '-1'
marker3: '-1'
@@ -304,10 +399,10 @@ blocks:
marker7: '-1'
marker8: '-1'
marker9: '-1'
- name: '"Source streams"'
- nconnections: '3'
- size: '100'
- srate: '1'
+ name: '"Input stream 1"'
+ nconnections: '1'
+ size: '1024'
+ srate: samp_rate
stemplot: 'False'
style1: '1'
style10: '1'
@@ -320,11 +415,11 @@ blocks:
style8: '1'
style9: '1'
tr_chan: '0'
- tr_delay: '5'
+ tr_delay: '0'
tr_level: '0.0'
- tr_mode: qtgui.TRIG_MODE_TAG
+ tr_mode: qtgui.TRIG_MODE_FREE
tr_slope: qtgui.TRIG_SLOPE_POS
- tr_tag: mark1
+ tr_tag: '""'
type: float
update_time: '0.10'
width1: '1'
@@ -338,13 +433,16 @@ blocks:
width8: '1'
width9: '1'
ylabel: Amplitude
- ymax: '5'
+ ymax: '20'
ymin: '-1'
yunit: '""'
states:
- coordinate: [560, 136.0]
+ bus_sink: false
+ bus_source: false
+ bus_structure: null
+ coordinate: [320, 412.0]
rotation: 0
- state: enabled
+ state: true
connections:
- [blocks_stream_mux_0, '0', blocks_throttle_0, '0']
@@ -352,9 +450,7 @@ connections:
- [blocks_vector_source_x_0, '0', blocks_stream_mux_0, '0']
- [blocks_vector_source_x_0, '0', qtgui_time_sink_x_0_0, '0']
- [blocks_vector_source_x_0_0, '0', blocks_stream_mux_0, '1']
-- [blocks_vector_source_x_0_0, '0', qtgui_time_sink_x_0_0, '1']
-- [blocks_vector_source_x_0_1, '0', blocks_stream_mux_0, '2']
-- [blocks_vector_source_x_0_1, '0', qtgui_time_sink_x_0_0, '2']
+- [blocks_vector_source_x_0_0, '0', qtgui_time_sink_x_0_0_0, '0']
metadata:
file_format: 1