summaryrefslogtreecommitdiff
path: root/grc/tests/resources/file1.xml
blob: f03288b85d22659930cd24010f184ae7a11fb515 (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
52
53
54
55
56
57
58
<?xml version="1.0"?>
<!--
Copyright 2014 Free Software Foundation, Inc.
This file is part of GNU Radio

GNU Radio Companion is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version.

GNU Radio Companion is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
details.

You should have received a copy of the GNU General Public License along with
this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
-->
<block>
    <name>testname</name>
    <key>block_key</key>
    <make>blocks.complex_to_mag_squared($(vlen))</make>
    <param>
        <name>Vec Length</name>
        <key>vlen</key>
        <value>1</value>
        <type>int</type>
        <tab>test</tab>
    </param>
    <param>
        <name>Vec Length</name>
        <key>out_type</key>
        <value>complex</value>
        <type>string</type>
    </param>
    <param>
        <name>Alpha</name>
        <key>a</key>
        <value>0</value>
        <type>($out_type)</type>
    </param>
    <check>$vlen &gt; 0</check>
    <sink>
        <name>in</name>
        <type>complex</type>
        <vlen>2 * $vlen</vlen>
    </sink>
    <sink>
        <name>in2</name>
        <type>message</type>
    </sink>
    <source>
        <name>out</name>
        <type>$out_type</type>
        <vlen>$vlen</vlen>
    </source>
</block>