aboutsummaryrefslogtreecommitdiffstats
path: root/src/gr-fadingui/grc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/gr-fadingui/grc/CMakeLists.txt3
-rw-r--r--src/gr-fadingui/grc/fadingui_multipath_fading.block.yml41
2 files changed, 43 insertions, 1 deletions
diff --git a/src/gr-fadingui/grc/CMakeLists.txt b/src/gr-fadingui/grc/CMakeLists.txt
index 92b6add..2394de4 100644
--- a/src/gr-fadingui/grc/CMakeLists.txt
+++ b/src/gr-fadingui/grc/CMakeLists.txt
@@ -22,5 +22,6 @@ install(FILES
fadingui_dearpygui_sink.block.yml
fadingui_xor_frame_sync.block.yml
fadingui_deframer.block.yml
- fadingui_frame_obj.block.yml DESTINATION share/gnuradio/grc/blocks
+ fadingui_frame_obj.block.yml
+ fadingui_multipath_fading.block.yml DESTINATION share/gnuradio/grc/blocks
)
diff --git a/src/gr-fadingui/grc/fadingui_multipath_fading.block.yml b/src/gr-fadingui/grc/fadingui_multipath_fading.block.yml
new file mode 100644
index 0000000..e116467
--- /dev/null
+++ b/src/gr-fadingui/grc/fadingui_multipath_fading.block.yml
@@ -0,0 +1,41 @@
+id: fadingui_multipath_fading
+label: Multipath Fading
+category: '[fadingui]'
+
+templates:
+ imports: import fadingui
+ make: fadingui.multipath_fading(amplitudes=${amplitudes}, delays=${delays})
+
+# 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: amplitudes
+ label: Amplitudes
+ dtype: raw
+- id: delays
+ label: Delays
+ dtype: raw
+
+# 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: in
+ domain: stream
+ dtype: complex
+
+outputs:
+- label: out
+ domain: stream
+ dtype: complex
+
+# 'file_format' specifies the version of the GRC yml format used in the file
+# and should usually not be changed.
+file_format: 1