summaryrefslogtreecommitdiff
path: root/gr-analog/grc/analog_pwr_squelch_xx.xml
diff options
context:
space:
mode:
authorTom Rondeau2012-10-31 13:15:25 -0400
committerTom Rondeau2012-10-31 13:15:25 -0400
commit300f7b5313ff79d9f3d9c19e109e71ee608bea86 (patch)
treea608f07f4b1dc24e1fa4d6692a771db36b7ecc5f /gr-analog/grc/analog_pwr_squelch_xx.xml
parent54e947e394dcd2bbff2b49968adf7b0861f0851b (diff)
downloadgnuradio-300f7b5313ff79d9f3d9c19e109e71ee608bea86.tar.gz
gnuradio-300f7b5313ff79d9f3d9c19e109e71ee608bea86.tar.bz2
gnuradio-300f7b5313ff79d9f3d9c19e109e71ee608bea86.zip
analog: adding pwr_squelch blocks to gr-analog with QA and GRC.
Diffstat (limited to 'gr-analog/grc/analog_pwr_squelch_xx.xml')
-rw-r--r--gr-analog/grc/analog_pwr_squelch_xx.xml65
1 files changed, 65 insertions, 0 deletions
diff --git a/gr-analog/grc/analog_pwr_squelch_xx.xml b/gr-analog/grc/analog_pwr_squelch_xx.xml
new file mode 100644
index 000000000..32d9c0e94
--- /dev/null
+++ b/gr-analog/grc/analog_pwr_squelch_xx.xml
@@ -0,0 +1,65 @@
+<?xml version="1.0"?>
+<!--
+###################################################
+##Power Squelch
+###################################################
+ -->
+<block>
+ <name>Power Squelch</name>
+ <key>analog_pwr_squelch_xx</key>
+ <import>from gnuradio import analog</import>
+ <make>analog.pwr_squelch_$(type.fcn)($threshold, $alpha, $ramp, $gate)</make>
+ <callback>set_threshold($threshold)</callback>
+ <callback>set_alpha($alpha)</callback>
+ <param>
+ <name>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>
+ </param>
+ <param>
+ <name>Threshold (dB)</name>
+ <key>threshold</key>
+ <type>real</type>
+ </param>
+ <param>
+ <name>Alpha</name>
+ <key>alpha</key>
+ <type>real</type>
+ </param>
+ <param>
+ <name>Ramp</name>
+ <key>ramp</key>
+ <type>int</type>
+ </param>
+ <param>
+ <name>Gate</name>
+ <key>gate</key>
+ <type>enum</type>
+ <option>
+ <name>Yes</name>
+ <key>True</key>
+ </option>
+ <option>
+ <name>No</name>
+ <key>False</key>
+ </option>
+ </param>
+ <sink>
+ <name>in</name>
+ <type>$type</type>
+ </sink>
+ <source>
+ <name>out</name>
+ <type>$type</type>
+ </source>
+</block>