diff options
author | Julien Olivain | 2012-12-11 10:12:39 -0500 |
---|---|---|
committer | Tom Rondeau | 2012-12-11 10:12:39 -0500 |
commit | d3ad5ccae7f261654508d93815cb7e3d2112c4c5 (patch) | |
tree | 30b28b6358cb7afd8be5d4398b755882200b0d54 /gr-qtgui/grc | |
parent | 933af79833a0d5a44f479ba6b68a390a10d5e7c0 (diff) | |
download | gnuradio-d3ad5ccae7f261654508d93815cb7e3d2112c4c5.tar.gz gnuradio-d3ad5ccae7f261654508d93815cb7e3d2112c4c5.tar.bz2 gnuradio-d3ad5ccae7f261654508d93815cb7e3d2112c4c5.zip |
qtgui: adds parameter in qtgui sink's GRC block to set the update rate.
Diffstat (limited to 'gr-qtgui/grc')
-rw-r--r-- | gr-qtgui/grc/qtgui_sink_x.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gr-qtgui/grc/qtgui_sink_x.xml b/gr-qtgui/grc/qtgui_sink_x.xml index 83d6ec287..6488ac04c 100644 --- a/gr-qtgui/grc/qtgui_sink_x.xml +++ b/gr-qtgui/grc/qtgui_sink_x.xml @@ -24,6 +24,7 @@ qtgui.$(type.fcn)( $plottime, \#plottime $plotconst, \#plotconst ) +self.$(id).set_update_time(1.0 / $rate) self._$(id)_win = sip.wrapinstance(self.$(id).pyqwidget(), Qt.QWidget) $(gui_hint()($win))</make> <callback>set_frequency_range($fc, $bw)</callback> @@ -133,6 +134,12 @@ $(gui_hint()($win))</make> <type>gui_hint</type> <hide>part</hide> </param> + <param> + <name>Update Rate</name> + <key>rate</key> + <value>10</value> + <type>real</type> + </param> <sink> <name>in</name> <type>$type</type> |