summaryrefslogtreecommitdiff
path: root/grc/data/grc_gnuradio/blocks/variable.xml
diff options
context:
space:
mode:
Diffstat (limited to 'grc/data/grc_gnuradio/blocks/variable.xml')
-rw-r--r--grc/data/grc_gnuradio/blocks/variable.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/grc/data/grc_gnuradio/blocks/variable.xml b/grc/data/grc_gnuradio/blocks/variable.xml
new file mode 100644
index 000000000..d620e1607
--- /dev/null
+++ b/grc/data/grc_gnuradio/blocks/variable.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+<!--
+###################################################
+##Variable block: a grc variable with key, value
+###################################################
+ -->
+<block>
+ <name>Variable</name>
+ <key>variable</key>
+ <make>$value</make>
+ <param>
+ <name>Value</name>
+ <key>value</key>
+ <value>0</value>
+ <type>raw</type>
+ </param>
+ <doc>
+This block maps a value to a unique variable. \
+This variable block has no graphical representation.
+ </doc>
+</block>