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 --- .../grc_gnuradio/blocks/wxgui_waterfallsink2.xml | 128 +++++++++++++++++++++ 1 file changed, 128 insertions(+) create mode 100644 grc/data/grc_gnuradio/blocks/wxgui_waterfallsink2.xml (limited to 'grc/data/grc_gnuradio/blocks/wxgui_waterfallsink2.xml') diff --git a/grc/data/grc_gnuradio/blocks/wxgui_waterfallsink2.xml b/grc/data/grc_gnuradio/blocks/wxgui_waterfallsink2.xml new file mode 100644 index 000000000..b5172f094 --- /dev/null +++ b/grc/data/grc_gnuradio/blocks/wxgui_waterfallsink2.xml @@ -0,0 +1,128 @@ + + + + Waterfall Sink + wxgui_waterfallsink2 + from gnuradio.wxgui import waterfallsink2 + waterfallsink2.$(type.fcn)( + self.GetWin(), + baseband_freq=$baseband_freq, + y_per_div=$y_per_div, + ref_level=$ref_level, + sample_rate=$samp_rate, + fft_size=$fft_size, + fft_rate=$fft_rate, + average=$options.average, +#if $avg_alpha.eval == 0 + avg_alpha=None, +#else + avg_alpha=$avg_alpha, +#end if + title=$title, +) +#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 + + Type + type + complex + enum + + + + + Title + title + Waterfall Plot + string + + + Sample Rate + samp_rate + samp_rate + real + + + Baseband Freq + baseband_freq + 0 + real + + + Y per Div + y_per_div + 10 + real + + + Reference Level + ref_level + 50 + real + + + FFT Size + fft_size + 512 + int + + + FFT Rate + fft_rate + 15 + int + + + Average Alpha + avg_alpha + 0 + real + + + Options + options + none + enum + + + + + Grid Position + grid_pos + + grid_pos + + + in + $type + + +Set Average Alpha to 0 for automatic setting. + +Use the Grid Position (row, column, row span, column span) to position the graphical element in the window. + + -- cgit