~ubuntu-branches/ubuntu/trusty/gnuradio/trusty

« back to all changes in this revision

Viewing changes to grc/blocks/gr_agc2_xx.xml

  • Committer: Bazaar Package Importer
  • Author(s): Kamal Mostafa
  • Date: 2010-03-13 07:46:01 UTC
  • mfrom: (2.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20100313074601-zjsa893a87bozyh7
Tags: 3.2.2.dfsg-1ubuntu1
* Fix build for Ubuntu lucid (LP: #260406)
  - add binary package dep for libusrp0, libusrp2-0: adduser
  - debian/rules clean: remove pre-built Qt moc files

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<!--
 
3
###################################################
 
4
##AGC2
 
5
###################################################
 
6
 -->
 
7
<block>
 
8
        <name>AGC2</name>
 
9
        <key>gr_agc2_xx</key>
 
10
        <import>from gnuradio import gr</import>
 
11
        <make>gr.agc2_$(type.fcn)($attack_rate, $decay_rate, $reference, $gain, $max_gain)</make>
 
12
        <param>
 
13
                <name>Type</name>
 
14
                <key>type</key>
 
15
                <type>enum</type>
 
16
                <option>
 
17
                        <name>Complex</name>
 
18
                        <key>complex</key>
 
19
                        <opt>fcn:cc</opt>
 
20
                </option>
 
21
                <option>
 
22
                        <name>Float</name>
 
23
                        <key>float</key>
 
24
                        <opt>fcn:ff</opt>
 
25
                </option>
 
26
        </param>
 
27
        <param>
 
28
                <name>Attack Rate</name>
 
29
                <key>attack_rate</key>
 
30
                <value>1e-1</value>
 
31
                <type>real</type>
 
32
        </param>
 
33
        <param>
 
34
                <name>Decay Rate</name>
 
35
                <key>decay_rate</key>
 
36
                <value>1e-2</value>
 
37
                <type>real</type>
 
38
        </param>
 
39
        <param>
 
40
                <name>Reference</name>
 
41
                <key>reference</key>
 
42
                <value>1.0</value>
 
43
                <type>real</type>
 
44
        </param>
 
45
        <param>
 
46
                <name>Gain</name>
 
47
                <key>gain</key>
 
48
                <value>1.0</value>
 
49
                <type>real</type>
 
50
        </param>
 
51
        <param>
 
52
                <name>Max Gain</name>
 
53
                <key>max_gain</key>
 
54
                <value>0.0</value>
 
55
                <type>real</type>
 
56
        </param>
 
57
        <sink>
 
58
                <name>in</name>
 
59
                <type>$type</type>
 
60
        </sink>
 
61
        <source>
 
62
                <name>out</name>
 
63
                <type>$type</type>
 
64
        </source>
 
65
</block>