diff options
author | jcorgan | 2008-08-23 02:26:15 +0000 |
---|---|---|
committer | jcorgan | 2008-08-23 02:26:15 +0000 |
commit | d52c462e5fd3eae7d00505a64a013e811d43234c (patch) | |
tree | 6b2a9e77c095ecc273e8b2b33a4bab37cfdf2fcd /grc/data/grc_gnuradio/blocks/wxgui_constellationsink2.xml | |
parent | 5c02ea03e1226ed706abeede426f0e1727f1ea25 (diff) | |
download | gnuradio-d52c462e5fd3eae7d00505a64a013e811d43234c.tar.gz gnuradio-d52c462e5fd3eae7d00505a64a013e811d43234c.tar.bz2 gnuradio-d52c462e5fd3eae7d00505a64a013e811d43234c.zip |
Merged changeset r9285:9377 from jblum/grc into trunk, with distcheck fixes
and local modifications.
Integrates previously separate GNU Radio Companion into top-level component
'grc'. (Josh Blum)
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9378 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'grc/data/grc_gnuradio/blocks/wxgui_constellationsink2.xml')
-rw-r--r-- | grc/data/grc_gnuradio/blocks/wxgui_constellationsink2.xml | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/grc/data/grc_gnuradio/blocks/wxgui_constellationsink2.xml b/grc/data/grc_gnuradio/blocks/wxgui_constellationsink2.xml new file mode 100644 index 000000000..cf3f29280 --- /dev/null +++ b/grc/data/grc_gnuradio/blocks/wxgui_constellationsink2.xml @@ -0,0 +1,74 @@ +<?xml version="1.0"?> +<!-- +################################################### +##Constellation Sink +################################################### + --> +<block> + <name>Constellation Sink</name> + <key>wxgui_constellationsink2</key> + <import>from gnuradio.wxgui import scopesink2</import> + <make>scopesink2.constellation_sink( + self.GetWin(), + title=$title, + sample_rate=$samp_rate, + frame_decim=$frame_decim, +) +self.$(id).win.$(marker)() +#set $grid_pos = $grid_pos.eval +#if not grid_pos +self.Add(self.$(id).win) +#else +self.GridAdd(self.$(id).win, $grid_pos[0], $grid_pos[1], $grid_pos[2], $grid_pos[3]) +#end if</make> + <callback>set_sample_rate($samp_rate)</callback> + <param> + <name>Title</name> + <key>title</key> + <value>Constellation Plot</value> + <type>string</type> + </param> + <param> + <name>Sample Rate</name> + <key>samp_rate</key> + <value>samp_rate</value> + <type>real</type> + </param> + <param> + <name>Frame Decimation</name> + <key>frame_decim</key> + <value>15</value> + <type>int</type> + </param> + <param> + <name>Marker</name> + <key>marker</key> + <value>set_format_plus</value> + <type>enum</type> + <option> + <name>Line</name> + <key>set_format_line</key> + </option> + <option> + <name>Dot</name> + <key>set_format_dot</key> + </option> + <option> + <name>Plus</name> + <key>set_format_plus</key> + </option> + </param> + <param> + <name>Grid Position</name> + <key>grid_pos</key> + <value></value> + <type>grid_pos</type> + </param> + <sink> + <name>in</name> + <type>complex</type> + </sink> + <doc> +Use the Grid Position (row, column, row span, column span) to position the graphical element in the window. + </doc> +</block> |