diff options
Diffstat (limited to 'grc/data/grc_gnuradio/blocks/gr_threshold_ff.xml')
-rw-r--r-- | grc/data/grc_gnuradio/blocks/gr_threshold_ff.xml | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/grc/data/grc_gnuradio/blocks/gr_threshold_ff.xml b/grc/data/grc_gnuradio/blocks/gr_threshold_ff.xml new file mode 100644 index 000000000..97764d733 --- /dev/null +++ b/grc/data/grc_gnuradio/blocks/gr_threshold_ff.xml @@ -0,0 +1,38 @@ +<?xml version="1.0"?> +<!-- +################################################### +##Threshold +################################################### + --> +<block> + <name>Threshold</name> + <key>gr_threshold_ff</key> + <import>from gnuradio import gr</import> + <make>gr.threshold_ff($low, $high, $init)</make> + <param> + <name>Low</name> + <key>low</key> + <value>-100</value> + <type>real</type> + </param> + <param> + <name>High</name> + <key>high</key> + <value>100</value> + <type>real</type> + </param> + <param> + <name>Initial State</name> + <key>init</key> + <value>0</value> + <type>real</type> + </param> + <sink> + <name>in</name> + <type>float</type> + </sink> + <source> + <name>out</name> + <type>float</type> + </source> +</block> |