Merged r9481:9518 on jblum/grc_reorganize into trunk. Reorganized grc source under...
[debian/gnuradio] / grc / data / platforms / python / blocks / usrp_simple_sink_x.xml
1 <?xml version="1.0"?>
2 <!--
3 ###################################################
4 ##USRP Simple Sink
5 ###################################################
6  -->
7 <block>
8         <name>USRP Sink</name>
9         <key>usrp_simple_sink_x</key>
10         <import>from grc_gnuradio import usrp as grc_usrp</import>
11         <make>grc_usrp.simple_sink_$(type.fcn)(
12         number=$number,
13         subdev_spec=$subdev_spec,
14         frequency=$frequency,
15         interpolation=$interpolation,
16         gain=$gain,
17 #if $mux.eval == hex(0)
18         mux=None,
19 #else
20         mux=$mux,
21 #end if
22         auto_tr=$auto_tr,
23         tx_enb=$tx_enb,
24 )</make>
25         <callback>set_interp_rate($interpolation)</callback>
26         <callback>set_frequency($frequency)</callback>
27         <callback>set_gain($gain)</callback>
28         <param>
29                 <name>Input Type</name>
30                 <key>type</key>
31                 <type>enum</type>
32                 <option>
33                         <name>Complex</name>
34                         <key>complex</key>
35                         <opt>fcn:c</opt>
36                 </option>
37                 <option>
38                         <name>Short</name>
39                         <key>short</key>
40                         <opt>fcn:s</opt>
41                 </option>
42         </param>
43         <param>
44                 <name>Unit Number</name>
45                 <key>number</key>
46                 <value>0</value>
47                 <type>int</type>
48         </param>
49         <param>
50                 <name>Subdev Spec</name>
51                 <key>subdev_spec</key>
52                 <value>auto</value>
53                 <type>enum</type>
54                 <option>
55                         <name>Auto</name>
56                         <key>None</key>
57                 </option>
58                 <option>
59                         <name>Side A</name>
60                         <key>(0, 0)</key>
61                 </option>
62                 <option>
63                         <name>Side B</name>
64                         <key>(1, 0)</key>
65                 </option>
66         </param>
67         <param>
68                 <name>Frequency</name>
69                 <key>frequency</key>
70                 <type>real</type>
71         </param>
72         <param>
73                 <name>Interpolation</name>
74                 <key>interpolation</key>
75                 <type>int</type>
76         </param>
77         <param>
78                 <name>Gain</name>
79                 <key>gain</key>
80                 <type>real</type>
81         </param>
82         <param>
83                 <name>Mux</name>
84                 <key>mux</key>
85                 <value>0x0</value>
86                 <type>hex</type>
87         </param>
88         <param>
89                 <name>Auto T/R</name>
90                 <key>auto_tr</key>
91                 <value>None</value>
92                 <type>enum</type>
93                 <option>
94                         <name>Ignore</name>
95                         <key>None</key>
96                 </option>
97                 <option>
98                         <name>Enable</name>
99                         <key>True</key>
100                 </option>
101                 <option>
102                         <name>Disable</name>
103                         <key>False</key>
104                 </option>
105         </param>
106         <param>
107                 <name>TX Enable</name>
108                 <key>tx_enb</key>
109                 <value>None</value>
110                 <type>enum</type>
111                 <option>
112                         <name>Ignore</name>
113                         <key>None</key>
114                 </option>
115                 <option>
116                         <name>Enable</name>
117                         <key>True</key>
118                 </option>
119                 <option>
120                         <name>Disable</name>
121                         <key>False</key>
122                 </option>
123         </param>
124         <sink>
125                 <name>in</name>
126                 <type>$type</type>
127         </sink>
128         <doc>
129 The USRP sink inputs 128 Megasamples per second / interpolation.
130
131 --- Flex RF specific ---
132 The "Auto TR" and "TX Enable" settings are flex rf specific and should be left at "Ignore" unless this is a flex rf board.
133
134 If enabled, "Auto Transmit/Receive Switching" handles the preference for transmit packets vs receive packets. \
135 By default, "Auto TR" is disabled.
136
137 The "Transmit Enable" configures the transmitter to be on or off. \
138 Do not leave this unconfigured.
139         </doc>
140 </block>