Imported Upstream version 3.2.2
[debian/gnuradio] / grc / blocks / pad_sink.xml
1 <?xml version="1.0"?>
2 <!--
3 ###################################################
4 ##Pad Sink: IO Pads
5 ###################################################
6  -->
7 <block>
8         <name>Pad Sink</name>
9         <key>pad_sink</key>
10         <make></make>
11         <param>
12                 <name>Num Inputs</name>
13                 <key>nports</key>
14                 <value>1</value>
15                 <type>int</type>
16         </param>
17         <param>
18                 <name>Input Type</name>
19                 <key>type</key>
20                 <type>enum</type>
21                 <option>
22                         <name>Complex</name>
23                         <key>complex</key>
24                         <opt>size:gr.sizeof_gr_complex</opt>
25                 </option>
26                 <option>
27                         <name>Float</name>
28                         <key>float</key>
29                         <opt>size:gr.sizeof_float</opt>
30                 </option>
31                 <option>
32                         <name>Int</name>
33                         <key>int</key>
34                         <opt>size:gr.sizeof_int</opt>
35                 </option>
36                 <option>
37                         <name>Short</name>
38                         <key>short</key>
39                         <opt>size:gr.sizeof_short</opt>
40                 </option>
41                 <option>
42                         <name>Byte</name>
43                         <key>byte</key>
44                         <opt>size:gr.sizeof_char</opt>
45                 </option>
46         </param>
47         <param>
48                 <name>Vec Length</name>
49                 <key>vlen</key>
50                 <value>1</value>
51                 <type>int</type>
52         </param>
53         <check>$vlen &gt; 0</check>
54         <check>0 &lt; $nports</check>
55         <sink>
56                 <name>in</name>
57                 <type>$type</type>
58                 <vlen>$vlen</vlen>
59                 <nports>$nports</nports>
60         </sink>
61         <doc>
62 This is a sink pad block for creating hierarchical flow graphs. \
63 The inputs of this block will become the outputs to this flow graph when it is instantiated as a hierarchical block. \
64 Limit one sink pad block per flow graph.
65
66 Remember to set the generate options to hier block.
67         </doc>
68 </block>