diff options
author | Tom Rondeau | 2012-10-31 11:42:07 -0400 |
---|---|---|
committer | Tom Rondeau | 2012-10-31 11:42:07 -0400 |
commit | 54e947e394dcd2bbff2b49968adf7b0861f0851b (patch) | |
tree | a1d5d78934e80fce7e2877977cf124f7f484f201 /gr-analog/grc | |
parent | 0353e0b56734c62884c7fd6d3634a28bafbae74f (diff) | |
download | gnuradio-54e947e394dcd2bbff2b49968adf7b0861f0851b.tar.gz gnuradio-54e947e394dcd2bbff2b49968adf7b0861f0851b.tar.bz2 gnuradio-54e947e394dcd2bbff2b49968adf7b0861f0851b.zip |
analog: adding simple_squelch block to gr-analog with QA and GRC.
Diffstat (limited to 'gr-analog/grc')
-rw-r--r-- | gr-analog/grc/analog_block_tree.xml | 1 | ||||
-rw-r--r-- | gr-analog/grc/analog_simple_squelch_cc.xml | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/gr-analog/grc/analog_block_tree.xml b/gr-analog/grc/analog_block_tree.xml index 5043e9562..4cfcb9bc9 100644 --- a/gr-analog/grc/analog_block_tree.xml +++ b/gr-analog/grc/analog_block_tree.xml @@ -34,6 +34,7 @@ <block>analog_agc2_xx</block> <block>analog_feedforward_agc_cc</block> <block>analog_ctcss_squelch_ff</block> + <block>analog_simple_squelch_cc</block> <block>analog_dpll_bb</block> </cat> <cat> diff --git a/gr-analog/grc/analog_simple_squelch_cc.xml b/gr-analog/grc/analog_simple_squelch_cc.xml new file mode 100644 index 000000000..648921a14 --- /dev/null +++ b/gr-analog/grc/analog_simple_squelch_cc.xml @@ -0,0 +1,32 @@ +<?xml version="1.0"?> +<!-- +################################################### +##Simple Squelch +################################################### + --> +<block> + <name>Simple Squelch</name> + <key>analog_simple_squelch_cc</key> + <import>from gnuradio import analog</import> + <make>analog.simple_squelch_cc($threshold, $alpha)</make> + <callback>set_threshold($threshold)</callback> + <callback>set_alpha($alpha)</callback> + <param> + <name>Threshold (dB)</name> + <key>threshold</key> + <type>real</type> + </param> + <param> + <name>Alpha</name> + <key>alpha</key> + <type>real</type> + </param> + <sink> + <name>in</name> + <type>complex</type> + </sink> + <source> + <name>out</name> + <type>complex</type> + </source> +</block> |