summaryrefslogtreecommitdiff
path: root/gr-blocks/grc/blocks_float_uchar.xml
diff options
context:
space:
mode:
Diffstat (limited to 'gr-blocks/grc/blocks_float_uchar.xml')
-rw-r--r--gr-blocks/grc/blocks_float_uchar.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/gr-blocks/grc/blocks_float_uchar.xml b/gr-blocks/grc/blocks_float_uchar.xml
new file mode 100644
index 000000000..d190eafcf
--- /dev/null
+++ b/gr-blocks/grc/blocks_float_uchar.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0"?>
+<!--
+###################################################
+##Float to Unsigned Char:
+###################################################
+ -->
+<block>
+ <name>Float To UChar</name>
+ <key>blocks_float_to_uchar</key>
+ <import>from gnuradio import blocks</import>
+ <make>blocks.float_to_uchar()</make>
+ <sink>
+ <name>in</name>
+ <type>float</type>
+ </sink>
+ <source>
+ <name>out</name>
+ <type>byte</type>
+ </source>
+</block>