aboutsummaryrefslogtreecommitdiffstats
path: root/src/gr-fadingui/grc
diff options
context:
space:
mode:
authorNao Pross <np@0hm.ch>2021-11-17 19:39:53 +0100
committerNao Pross <np@0hm.ch>2021-11-17 19:39:53 +0100
commit9628d6e6deaf1ebaefd72a67fac291557baf49c9 (patch)
tree7a7ad5aeaeac595c8f7133c3222e7a8506898449 /src/gr-fadingui/grc
parentMerge remote-tracking branch 'origin/master' (diff)
downloadFading-9628d6e6deaf1ebaefd72a67fac291557baf49c9.tar.gz
Fading-9628d6e6deaf1ebaefd72a67fac291557baf49c9.zip
Begin working on frame syncronization
Diffstat (limited to 'src/gr-fadingui/grc')
-rw-r--r--src/gr-fadingui/grc/CMakeLists.txt3
-rw-r--r--src/gr-fadingui/grc/fadingui_xor_frame_sync.block.yml45
2 files changed, 47 insertions, 1 deletions
diff --git a/src/gr-fadingui/grc/CMakeLists.txt b/src/gr-fadingui/grc/CMakeLists.txt
index 98713e8..1fe2b9c 100644
--- a/src/gr-fadingui/grc/CMakeLists.txt
+++ b/src/gr-fadingui/grc/CMakeLists.txt
@@ -19,5 +19,6 @@
# Boston, MA 02110-1301, USA.
install(FILES
fadingui_datasource.block.yml
- fadingui_dearpygui_sink.block.yml DESTINATION share/gnuradio/grc/blocks
+ fadingui_dearpygui_sink.block.yml
+ fadingui_xor_frame_sync.block.yml DESTINATION share/gnuradio/grc/blocks
)
diff --git a/src/gr-fadingui/grc/fadingui_xor_frame_sync.block.yml b/src/gr-fadingui/grc/fadingui_xor_frame_sync.block.yml
new file mode 100644
index 0000000..92be2a8
--- /dev/null
+++ b/src/gr-fadingui/grc/fadingui_xor_frame_sync.block.yml
@@ -0,0 +1,45 @@
+id: fadingui_xor_frame_sync
+label: xor_frame_sync
+category: '[fadingui]'
+
+templates:
+ imports: import fadingui
+ make: fadingui.xor_frame_sync()
+
+# 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