summaryrefslogtreecommitdiff
path: root/gr-blocks/grc
diff options
context:
space:
mode:
authorJohnathan Corgan2012-06-23 07:46:42 -0700
committerJohnathan Corgan2012-06-23 07:47:37 -0700
commitc16e6eba638ebe3bdf5ee4770ce409481c8e1c7a (patch)
treeab0459cc13ffe112abe05aaadffaee1df7d0f327 /gr-blocks/grc
parentc485d5210ffd026f2ee0b1517c42d7017cb937e9 (diff)
downloadgnuradio-c16e6eba638ebe3bdf5ee4770ce409481c8e1c7a.tar.gz
gnuradio-c16e6eba638ebe3bdf5ee4770ce409481c8e1c7a.tar.bz2
gnuradio-c16e6eba638ebe3bdf5ee4770ce409481c8e1c7a.zip
blocks: added gr::blocks::complex_to_interleaved_short
Diffstat (limited to 'gr-blocks/grc')
-rw-r--r--gr-blocks/grc/blocks_block_tree.xml2
-rw-r--r--gr-blocks/grc/blocks_complex_to_interleaved_short.xml20
2 files changed, 21 insertions, 1 deletions
diff --git a/gr-blocks/grc/blocks_block_tree.xml b/gr-blocks/grc/blocks_block_tree.xml
index 6fe209db9..523ee1b7c 100644
--- a/gr-blocks/grc/blocks_block_tree.xml
+++ b/gr-blocks/grc/blocks_block_tree.xml
@@ -41,6 +41,6 @@
<name>Type Conversions</name>
<block>blocks_char_to_float</block>
<block>blocks_char_to_short</block>
+ <block>blocks_complex_to_interleaved_short</block>
</cat>
-
</cat>
diff --git a/gr-blocks/grc/blocks_complex_to_interleaved_short.xml b/gr-blocks/grc/blocks_complex_to_interleaved_short.xml
new file mode 100644
index 000000000..43b55f32a
--- /dev/null
+++ b/gr-blocks/grc/blocks_complex_to_interleaved_short.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0"?>
+<!--
+###################################################
+##Complex to Interleaved Short:
+###################################################
+ -->
+<block>
+ <name>Complex To IShort</name>
+ <key>blocks_complex_to_interleaved_short</key>
+ <import>from gnuradio import blocks</import>
+ <make>blocks.complex_to_interleaved_short()</make>
+ <sink>
+ <name>in</name>
+ <type>complex</type>
+ </sink>
+ <source>
+ <name>out</name>
+ <type>short</type>
+ </source>
+</block>