diff options
author | Johnathan Corgan | 2012-06-29 08:30:23 -0700 |
---|---|---|
committer | Johnathan Corgan | 2012-06-29 08:30:23 -0700 |
commit | bfcc9dc634cc8d7da77b109a7ad9cd90714fd768 (patch) | |
tree | 2f739f2b13068294b4fe5846bb27eb2f160313f1 /gr-blocks/grc | |
parent | f2e815329402f170231c054e108b531094d046be (diff) | |
download | gnuradio-bfcc9dc634cc8d7da77b109a7ad9cd90714fd768.tar.gz gnuradio-bfcc9dc634cc8d7da77b109a7ad9cd90714fd768.tar.bz2 gnuradio-bfcc9dc634cc8d7da77b109a7ad9cd90714fd768.zip |
blocks: added gr::blocks::integrate_XX with ss ii ff cc
Diffstat (limited to 'gr-blocks/grc')
-rw-r--r-- | gr-blocks/grc/blocks_block_tree.xml | 1 | ||||
-rw-r--r-- | gr-blocks/grc/blocks_integrate_xx.xml | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/gr-blocks/grc/blocks_block_tree.xml b/gr-blocks/grc/blocks_block_tree.xml index 197daa0f6..d7cbbeb55 100644 --- a/gr-blocks/grc/blocks_block_tree.xml +++ b/gr-blocks/grc/blocks_block_tree.xml @@ -37,6 +37,7 @@ <block>blocks_multiply_const_vxx</block> <block>blocks_sub_xx</block> <block>blocks_conjugate_cc</block> + <block>blocks_integrate_xx</block> </cat> <cat> <name>Stream Type Conversions (New) </name> diff --git a/gr-blocks/grc/blocks_integrate_xx.xml b/gr-blocks/grc/blocks_integrate_xx.xml new file mode 100644 index 000000000..13c2ec3c8 --- /dev/null +++ b/gr-blocks/grc/blocks_integrate_xx.xml @@ -0,0 +1,50 @@ +<?xml version="1.0"?> +<!-- +################################################### +##Integrate +################################################### + --> +<block> + <name>Integrate</name> + <key>blocks_integrate_xx</key> + <import>from gnuradio import blocks</import> + <make>blocks.integrate_$(type.fcn)($decim)</make> + <param> + <name>IO Type</name> + <key>type</key> + <type>enum</type> + <option> + <name>Complex</name> + <key>complex</key> + <opt>fcn:cc</opt> + </option> + <option> + <name>Float</name> + <key>float</key> + <opt>fcn:ff</opt> + </option> + <option> + <name>Int</name> + <key>int</key> + <opt>fcn:ii</opt> + </option> + <option> + <name>Short</name> + <key>short</key> + <opt>fcn:ss</opt> + </option> + </param> + <param> + <name>Decimation</name> + <key>decim</key> + <type>int</type> + </param> + <sink> + <name>in</name> + <type>$type</type> + </sink> + <source> + <name>out</name> + <type>$type</type> + </source> +</block> |