aboutsummaryrefslogtreecommitdiffstats
path: root/src/gr-fadingui/grc
diff options
context:
space:
mode:
authorsara <sara.halter@gmx.ch>2021-12-02 20:02:16 +0100
committersara <sara.halter@gmx.ch>2021-12-02 20:02:16 +0100
commit834febb9aa0dac463f43914cb028be931f85de73 (patch)
tree94a195ebc1f3d727f5ae8c3143bbbd5c76841503 /src/gr-fadingui/grc
parentDelete XOR Correlator (replaced with by phase correction) (diff)
downloadFading-834febb9aa0dac463f43914cb028be931f85de73.tar.gz
Fading-834febb9aa0dac463f43914cb028be931f85de73.zip
BER Block erstellt, läuft noch nichtwie gewünscht
Diffstat (limited to 'src/gr-fadingui/grc')
-rw-r--r--src/gr-fadingui/grc/CMakeLists.txt3
-rw-r--r--src/gr-fadingui/grc/fadingui_ber.block.yml37
2 files changed, 39 insertions, 1 deletions
diff --git a/src/gr-fadingui/grc/CMakeLists.txt b/src/gr-fadingui/grc/CMakeLists.txt
index d5f23a6..297ae8d 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_deframer.block.yml
fadingui_frame_obj.block.yml
- fadingui_multipath_fading.block.yml DESTINATION share/gnuradio/grc/blocks
+ fadingui_multipath_fading.block.yml
+ fadingui_ber.block.yml DESTINATION share/gnuradio/grc/blocks
)
diff --git a/src/gr-fadingui/grc/fadingui_ber.block.yml b/src/gr-fadingui/grc/fadingui_ber.block.yml
new file mode 100644
index 0000000..3383df5
--- /dev/null
+++ b/src/gr-fadingui/grc/fadingui_ber.block.yml
@@ -0,0 +1,37 @@
+id: fadingui_ber
+label: BER
+category: '[fadingui]'
+
+templates:
+ imports: import fadingui
+ make: fadingui.ber(vgl=${vgl})
+
+# 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: vgl
+ label: Vergleichsparameter
+ dtype: raw
+# - 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: in
+ domain: stream
+ dtype: byte
+
+
+# 'file_format' specifies the version of the GRC yml format used in the file
+# and should usually not be changed.
+file_format: 1