From 9955ef951e213cba02735cc90944cdb0aca49285 Mon Sep 17 00:00:00 2001 From: Tom Rondeau Date: Wed, 25 May 2011 16:51:16 +0100 Subject: grc: adding DC blocker GRC block. --- grc/blocks/Makefile.am | 1 + grc/blocks/block_tree.xml | 1 + grc/blocks/gr_dc_blocker.xml | 49 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 51 insertions(+) create mode 100644 grc/blocks/gr_dc_blocker.xml (limited to 'grc') diff --git a/grc/blocks/Makefile.am b/grc/blocks/Makefile.am index 81eb81182..14ffe8358 100644 --- a/grc/blocks/Makefile.am +++ b/grc/blocks/Makefile.am @@ -90,6 +90,7 @@ dist_ourdata_DATA = \ gr_correlate_access_code_bb.xml \ gr_costas_loop_cc.xml \ gr_cpfsk_bc.xml \ + gr_dc_blocker.xml \ gr_decode_ccsds_27_fb.xml \ gr_deinterleave.xml \ gr_delay.xml \ diff --git a/grc/blocks/block_tree.xml b/grc/blocks/block_tree.xml index 66094a80d..0b641d79c 100644 --- a/grc/blocks/block_tree.xml +++ b/grc/blocks/block_tree.xml @@ -188,6 +188,7 @@ gr_keep_one_in_n gr_moving_average_xx gr_iqcomp_cc + gr_dc_blocker Modulators diff --git a/grc/blocks/gr_dc_blocker.xml b/grc/blocks/gr_dc_blocker.xml new file mode 100644 index 000000000..d10a934fe --- /dev/null +++ b/grc/blocks/gr_dc_blocker.xml @@ -0,0 +1,49 @@ + + + + DC Blocker + gr_dc_blocker + from gnuradio import gr + gr.dc_blocker_$(type)($length, $long_form) + + + Length + length + 32 + int + + + Type + type + enum + + + + + Long Form + long_form + True + bool + + + + in + $type + + + out + $type + + -- cgit From 297613170b84640c8a91c9a50374385883c837ff Mon Sep 17 00:00:00 2001 From: Tom Rondeau Date: Thu, 2 Jun 2011 10:40:30 -0400 Subject: grc: fixing DC blocker block to handle i/o type. --- grc/blocks/gr_dc_blocker.xml | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) (limited to 'grc') diff --git a/grc/blocks/gr_dc_blocker.xml b/grc/blocks/gr_dc_blocker.xml index d10a934fe..e5aeeb031 100644 --- a/grc/blocks/gr_dc_blocker.xml +++ b/grc/blocks/gr_dc_blocker.xml @@ -10,27 +10,29 @@ from gnuradio import gr gr.dc_blocker_$(type)($length, $long_form) - - Length - length - 32 - int - Type type enum + + Length + length + 32 + int + Long Form long_form @@ -40,10 +42,10 @@ in - $type + $type.input out - $type + $type.output -- cgit