aboutsummaryrefslogtreecommitdiffstats
path: root/src/gr-fadingui/grc/fadingui_frame_obj.block.yml
diff options
context:
space:
mode:
Diffstat (limited to 'src/gr-fadingui/grc/fadingui_frame_obj.block.yml')
-rw-r--r--src/gr-fadingui/grc/fadingui_frame_obj.block.yml36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/gr-fadingui/grc/fadingui_frame_obj.block.yml b/src/gr-fadingui/grc/fadingui_frame_obj.block.yml
new file mode 100644
index 0000000..8fee3a3
--- /dev/null
+++ b/src/gr-fadingui/grc/fadingui_frame_obj.block.yml
@@ -0,0 +1,36 @@
+id: fadingui_frame_obj
+label: Frame Object
+category: '[fadingui]'
+
+templates:
+ imports: import fadingui
+ make: fadingui.frame_obj()
+
+# 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: preamble
+ label: Preamble
+ dtype: raw
+ default: [0xbe, 0xef]
+- id: payload_len
+ label: Payload length
+ dtype: int
+ default: 4096
+
+# 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:
+outputs:
+
+# 'file_format' specifies the version of the GRC yml format used in the file
+# and should usually not be changed.
+file_format: 1