summaryrefslogtreecommitdiff
path: root/grc/data/platforms/python/blocks/gr_threshold_ff.xml
blob: 740ce5794c3a2cf7710636fd384913de5b9651e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?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>
	<callback>set_hi($high)</callback>
	<callback>set_lo($low)</callback>
	<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>