commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r11162 - in gnuradio/trunk: gr-wxgui/src/python grc/da


From: jblum
Subject: [Commit-gnuradio] r11162 - in gnuradio/trunk: gr-wxgui/src/python grc/data/platforms/python/blocks
Date: Thu, 28 May 2009 18:25:17 -0600 (MDT)

Author: jblum
Date: 2009-05-28 18:25:16 -0600 (Thu, 28 May 2009)
New Revision: 11162

Modified:
   gnuradio/trunk/gr-wxgui/src/python/numbersink2.py
   gnuradio/trunk/grc/data/platforms/python/blocks/wxgui_numbersink2.xml
Log:
removed defunct base_value parameter from numbersink

Modified: gnuradio/trunk/gr-wxgui/src/python/numbersink2.py
===================================================================
--- gnuradio/trunk/gr-wxgui/src/python/numbersink2.py   2009-05-28 21:14:27 UTC 
(rev 11161)
+++ gnuradio/trunk/gr-wxgui/src/python/numbersink2.py   2009-05-29 00:25:16 UTC 
(rev 11162)
@@ -40,7 +40,6 @@
                self,
                parent,
                unit='units',
-               base_value=None, #ignore (old wrapper)
                minval=0,
                maxval=1,
                factor=1,
@@ -54,6 +53,7 @@
                size=number_window.DEFAULT_WIN_SIZE,
                peak_hold=False,
                show_gauge=True,
+               **kwargs #catchall for backwards compatibility
        ):
                #ensure avg alpha
                if avg_alpha is None: avg_alpha = 2.0/number_rate

Modified: gnuradio/trunk/grc/data/platforms/python/blocks/wxgui_numbersink2.xml
===================================================================
--- gnuradio/trunk/grc/data/platforms/python/blocks/wxgui_numbersink2.xml       
2009-05-28 21:14:27 UTC (rev 11161)
+++ gnuradio/trunk/grc/data/platforms/python/blocks/wxgui_numbersink2.xml       
2009-05-29 00:25:16 UTC (rev 11162)
@@ -11,7 +11,6 @@
        <make>numbersink2.$(type.fcn)(
        self.GetWin(),
        unit=$units,
-       base_value=$base_value,
        minval=$min_value,
        maxval=$max_value,
        factor=$factor,
@@ -66,12 +65,6 @@
                <type>real</type>
        </param>
        <param>
-               <name>Base Value</name>
-               <key>base_value</key>
-               <value>0.0</value>
-               <type>real</type>
-       </param>
-       <param>
                <name>Min Value</name>
                <key>min_value</key>
                <value>-100</value>
@@ -172,5 +165,7 @@
 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.
+
+Incoming numbers are multiplied by the factor, and then added-to by the 
reference level.
        </doc>
 </block>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]