Imported Upstream version 3.2.2
[debian/gnuradio] / grc / blocks / gr_threshold_ff.xml
1 <?xml version="1.0"?>
2 <!--
3 ###################################################
4 ##Threshold
5 ###################################################
6  -->
7 <block>
8         <name>Threshold</name>
9         <key>gr_threshold_ff</key>
10         <import>from gnuradio import gr</import>
11         <make>gr.threshold_ff($low, $high, $init)</make>
12         <callback>set_hi($high)</callback>
13         <callback>set_lo($low)</callback>
14         <param>
15                 <name>Low</name>
16                 <key>low</key>
17                 <value>-100</value>
18                 <type>real</type>
19         </param>
20         <param>
21                 <name>High</name>
22                 <key>high</key>
23                 <value>100</value>
24                 <type>real</type>
25         </param>
26         <param>
27                 <name>Initial State</name>
28                 <key>init</key>
29                 <value>0</value>
30                 <type>real</type>
31         </param>
32         <sink>
33                 <name>in</name>
34                 <type>float</type>
35         </sink>
36         <source>
37                 <name>out</name>
38                 <type>float</type>
39         </source>
40 </block>