summaryrefslogtreecommitdiff
path: root/grc/blocks/gr_dc_blocker.xml
blob: e5aeeb03152463c234de7ff32c310f307ffb608c (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
41
42
43
44
45
46
47
48
49
50
51
<?xml version="1.0"?>
<!--
###################################################
## DC Blocker
###################################################
 -->
<block>
	<name>DC Blocker</name>
	<key>gr_dc_blocker</key>
	<import>from gnuradio import gr</import>
	<make>gr.dc_blocker_$(type)($length, $long_form)</make>
	<!-- <callback>set_length($lenght)</callback> -->
	<param>
		<name>Type</name>
		<key>type</key>
		<type>enum</type>
		<option>
			<name>Complex->Complex</name>
			<key>cc</key>
			<opt>input:complex</opt>
			<opt>output:complex</opt>
		</option>
		<option>
			<name>Float->Float</name>
			<key>ff</key>
			<opt>input:float</opt>
			<opt>output:float</opt>
		</option>
	</param>
	<param>
		<name>Length</name>
		<key>length</key>
		<value>32</value>
		<type>int</type>
	</param>
	<param>
		<name>Long Form</name>
		<key>long_form</key>
		<value>True</value>
		<type>bool</type>
	</param>

	<sink>
		<name>in</name>
		<type>$type.input</type>
	</sink>
	<source>
		<name>out</name>
		<type>$type.output</type>
	</source>
</block>