summaryrefslogtreecommitdiff
path: root/gr-blocks/grc/blocks_complex_to_real.xml
diff options
context:
space:
mode:
authorJohnathan Corgan2012-10-01 16:00:32 -0700
committerJohnathan Corgan2012-10-01 16:00:32 -0700
commitd5973006fa99ead50dd4b74e01aec19fc69f228a (patch)
tree86c0c9a26fbc9940510a64014dd4cb0923233959 /gr-blocks/grc/blocks_complex_to_real.xml
parentb31ea99bf07cb66f1dab3cea94f9f792f6cab2fc (diff)
parent9f72b877043cd6e5d8e7cee20c0e4390419a94b7 (diff)
downloadgnuradio-d5973006fa99ead50dd4b74e01aec19fc69f228a.tar.gz
gnuradio-d5973006fa99ead50dd4b74e01aec19fc69f228a.tar.bz2
gnuradio-d5973006fa99ead50dd4b74e01aec19fc69f228a.zip
Merge branch 'wip/gr-blocks-master'
Diffstat (limited to 'gr-blocks/grc/blocks_complex_to_real.xml')
-rw-r--r--gr-blocks/grc/blocks_complex_to_real.xml36
1 files changed, 36 insertions, 0 deletions
diff --git a/gr-blocks/grc/blocks_complex_to_real.xml b/gr-blocks/grc/blocks_complex_to_real.xml
new file mode 100644
index 000000000..7acf3fccb
--- /dev/null
+++ b/gr-blocks/grc/blocks_complex_to_real.xml
@@ -0,0 +1,36 @@
+<?xml version="1.0"?>
+<!--
+###################################################
+##Complex to Float:
+## one or two output streams
+###################################################
+ -->
+<block>
+ <name>Complex To Float</name>
+ <key>blocks_complex_to_float</key>
+ <import>from gnuradio import blocks</import>
+ <make>blocks.complex_to_float($vlen)</make>
+ <param>
+ <name>Vec Length</name>
+ <key>vlen</key>
+ <value>1</value>
+ <type>int</type>
+ </param>
+ <check>$vlen &gt; 0</check>
+ <sink>
+ <name>in</name>
+ <type>complex</type>
+ <vlen>$vlen</vlen>
+ </sink>
+ <source>
+ <name>re</name>
+ <type>float</type>
+ <vlen>$vlen</vlen>
+ </source>
+ <source>
+ <name>im</name>
+ <type>float</type>
+ <vlen>$vlen</vlen>
+ <optional>1</optional>
+ </source>
+</block>