Imported Upstream version 3.2.2
[debian/gnuradio] / grc / blocks / gr_max_xx.xml
1 <?xml version="1.0"?>
2 <!--
3 ###################################################
4 ##Max:
5 ##      1 output, 2 to inf inputs
6 ###################################################
7  -->
8 <block>
9         <name>Max</name>
10         <key>gr_max_xx</key>
11         <import>from gnuradio import gr</import>
12         <make>gr.max_$(type.fcn)($vlen)</make>
13         <param>
14                 <name>IO Type</name>
15                 <key>type</key>
16                 <type>enum</type>
17                 <option>
18                         <name>Float</name>
19                         <key>float</key>
20                         <opt>fcn:ff</opt>
21                 </option>
22                 <option>
23                         <name>Int</name>
24                         <key>int</key>
25                         <opt>fcn:ii</opt>
26                 </option>
27                 <option>
28                         <name>Short</name>
29                         <key>short</key>
30                         <opt>fcn:dd</opt>
31                 </option>
32         </param>
33         <param>
34                 <name>Num Inputs</name>
35                 <key>num_inputs</key>
36                 <value>2</value>
37                 <type>int</type>
38         </param>
39         <param>
40                 <name>Vec Length</name>
41                 <key>vlen</key>
42                 <value>1</value>
43                 <type>int</type>
44         </param>
45         <check>$num_inputs &gt;= 2</check>
46         <check>$vlen &gt;= 1</check>
47         <sink>
48                 <name>in</name>
49                 <type>$type</type>
50                 <vlen>$vlen</vlen>
51                 <nports>$num_inputs</nports>
52         </sink>
53         <source>
54                 <name>out</name>
55                 <type>$type</type>
56                 <vlen>$vlen</vlen>
57         </source>
58 </block>