cf3f292806eabc7c2da1591bf90322ebd466c88b
[debian/gnuradio] / grc / data / grc_gnuradio / blocks / wxgui_constellationsink2.xml
1 <?xml version="1.0"?>
2 <!--
3 ###################################################
4 ##Constellation Sink
5 ###################################################
6  -->
7 <block>
8         <name>Constellation Sink</name>
9         <key>wxgui_constellationsink2</key>
10         <import>from gnuradio.wxgui import scopesink2</import>
11         <make>scopesink2.constellation_sink(
12         self.GetWin(),
13         title=$title,
14         sample_rate=$samp_rate,
15         frame_decim=$frame_decim,
16 )
17 self.$(id).win.$(marker)()
18 #set $grid_pos = $grid_pos.eval
19 #if not grid_pos
20 self.Add(self.$(id).win)
21 #else
22 self.GridAdd(self.$(id).win, $grid_pos[0], $grid_pos[1], $grid_pos[2], $grid_pos[3])
23 #end if</make>
24         <callback>set_sample_rate($samp_rate)</callback>
25         <param>
26                 <name>Title</name>
27                 <key>title</key>
28                 <value>Constellation Plot</value>
29                 <type>string</type>
30         </param>
31         <param>
32                 <name>Sample Rate</name>
33                 <key>samp_rate</key>
34                 <value>samp_rate</value>
35                 <type>real</type>
36         </param>
37         <param>
38                 <name>Frame Decimation</name>
39                 <key>frame_decim</key>
40                 <value>15</value>
41                 <type>int</type>
42         </param>
43         <param>
44                 <name>Marker</name>
45                 <key>marker</key>
46                 <value>set_format_plus</value>
47                 <type>enum</type>
48                 <option>
49                         <name>Line</name>
50                         <key>set_format_line</key>
51                 </option>
52                 <option>
53                         <name>Dot</name>
54                         <key>set_format_dot</key>
55                 </option>
56                 <option>
57                         <name>Plus</name>
58                         <key>set_format_plus</key>
59                 </option>
60         </param>
61         <param>
62                 <name>Grid Position</name>
63                 <key>grid_pos</key>
64                 <value></value>
65                 <type>grid_pos</type>
66         </param>
67         <sink>
68                 <name>in</name>
69                 <type>complex</type>
70         </sink>
71         <doc>
72 Use the Grid Position (row, column, row span, column span) to position the graphical element in the window.
73         </doc>
74 </block>