From d52c462e5fd3eae7d00505a64a013e811d43234c Mon Sep 17 00:00:00 2001 From: jcorgan Date: Sat, 23 Aug 2008 02:26:15 +0000 Subject: 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 --- .../blocks/wxgui_constellationsink2.xml | 74 ++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 grc/data/grc_gnuradio/blocks/wxgui_constellationsink2.xml (limited to 'grc/data/grc_gnuradio/blocks/wxgui_constellationsink2.xml') 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 @@ + + + + Constellation Sink + wxgui_constellationsink2 + from gnuradio.wxgui import scopesink2 + 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 + set_sample_rate($samp_rate) + + Title + title + Constellation Plot + string + + + Sample Rate + samp_rate + samp_rate + real + + + Frame Decimation + frame_decim + 15 + int + + + Marker + marker + set_format_plus + enum + + + + + + Grid Position + grid_pos + + grid_pos + + + in + complex + + +Use the Grid Position (row, column, row span, column span) to position the graphical element in the window. + + -- cgit