aboutsummaryrefslogtreecommitdiffstats
path: root/src/gr-fading_ui/grc
diff options
context:
space:
mode:
authorNao Pross <np@0hm.ch>2021-10-22 11:07:52 +0200
committerNao Pross <np@0hm.ch>2021-10-22 11:14:18 +0200
commited97250caa349231642d35cc84074b3bd4e89ba4 (patch)
tree9cc6103896d0bd8a777a69e0e522efab3790a044 /src/gr-fading_ui/grc
parentExperiment with dearpygui, create a sketch of the UI on the RX side (diff)
downloadFading-ed97250caa349231642d35cc84074b3bd4e89ba4.tar.gz
Fading-ed97250caa349231642d35cc84074b3bd4e89ba4.zip
Create (empty) out of tree gnuradio module fading_ui with block rx_ui_sink
Diffstat (limited to '')
-rw-r--r--src/gr-fading_ui/grc/CMakeLists.txt23
-rw-r--r--src/gr-fading_ui/grc/fading_ui_rx_ui_sink.block.yml45
2 files changed, 68 insertions, 0 deletions
diff --git a/src/gr-fading_ui/grc/CMakeLists.txt b/src/gr-fading_ui/grc/CMakeLists.txt
new file mode 100644
index 0000000..046820a
--- /dev/null
+++ b/src/gr-fading_ui/grc/CMakeLists.txt
@@ -0,0 +1,23 @@
+# Copyright 2011 Free Software Foundation, Inc.
+#
+# This file was generated by gr_modtool, a tool from the GNU Radio framework
+# This file is a part of gr-fading_ui
+#
+# GNU Radio is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3, or (at your option)
+# any later version.
+#
+# GNU Radio is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with GNU Radio; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 51 Franklin Street,
+# Boston, MA 02110-1301, USA.
+
+install(FILES
+ fading_ui_rx_ui_sink.block.yml DESTINATION share/gnuradio/grc/blocks
+)
diff --git a/src/gr-fading_ui/grc/fading_ui_rx_ui_sink.block.yml b/src/gr-fading_ui/grc/fading_ui_rx_ui_sink.block.yml
new file mode 100644
index 0000000..60b91d0
--- /dev/null
+++ b/src/gr-fading_ui/grc/fading_ui_rx_ui_sink.block.yml
@@ -0,0 +1,45 @@
+id: fading_ui_rx_ui_sink
+label: rx_ui_sink
+category: '[fading_ui]'
+
+templates:
+ imports: import fading_ui
+ make: fading_ui.rx_ui_sink()
+
+# Make one 'parameters' list entry for every parameter you want settable from the GUI.
+# Keys include:
+# * id (makes the value accessible as \$keyname, e.g. in the make entry)
+# * label (label shown in the GUI)
+# * dtype (e.g. int, float, complex, byte, short, xxx_vector, ...)
+parameters:
+- id: ...
+ label: ...
+ dtype: ...
+- id: ...
+ label: ...
+ dtype: ...
+
+# Make one 'inputs' list entry per input and one 'outputs' list entry per output.
+# Keys include:
+# * label (an identifier for the GUI)
+# * domain (optional - stream or message. Default is stream)
+# * dtype (e.g. int, float, complex, byte, short, xxx_vector, ...)
+# * vlen (optional - data stream vector length. Default is 1)
+# * optional (optional - set to 1 for optional inputs. Default is 0)
+inputs:
+- label: ...
+ domain: ...
+ dtype: ...
+ vlen: ...
+ optional: ...
+
+outputs:
+- label: ...
+ domain: ...
+ dtype: ...
+ vlen: ...
+ optional: ...
+
+# 'file_format' specifies the version of the GRC yml format used in the file
+# and should usually not be changed.
+file_format: 1