diff options
author | Tom Rondeau <trondeau@vt.edu> | 2013-03-13 23:03:02 -0400 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2013-03-13 23:03:02 -0400 |
commit | 9616494c07b86b8b76c3c49c66fe9dfa037989e7 (patch) | |
tree | 8b588e79b8c78b054818cff2c420bbd8bec55cd2 | |
parent | e6005dc98cd3baebab80af94d60d73a2dfbc1bef (diff) |
grc: fixed some GRC definitions.
-rw-r--r-- | gr-blocks/grc/blocks_complex_to_real.xml | 8 | ||||
-rw-r--r-- | gr-qtgui/grc/qtgui_waterfall_sink_x.xml | 10 |
2 files changed, 10 insertions, 8 deletions
diff --git a/gr-blocks/grc/blocks_complex_to_real.xml b/gr-blocks/grc/blocks_complex_to_real.xml index 0fe77dc1c5..6737f1da36 100644 --- a/gr-blocks/grc/blocks_complex_to_real.xml +++ b/gr-blocks/grc/blocks_complex_to_real.xml @@ -24,13 +24,7 @@ </sink> <source> <name>re</name> - <type>real</type> + <type>float</type> <vlen>$vlen</vlen> </source> - <source> - <name>im</name> - <type>real</type> - <vlen>$vlen</vlen> - <optional>1</optional> - </source> </block> diff --git a/gr-qtgui/grc/qtgui_waterfall_sink_x.xml b/gr-qtgui/grc/qtgui_waterfall_sink_x.xml index 5a17f7d511..176a907e9e 100644 --- a/gr-qtgui/grc/qtgui_waterfall_sink_x.xml +++ b/gr-qtgui/grc/qtgui_waterfall_sink_x.xml @@ -18,6 +18,7 @@ qtgui.$(type.fcn)( $fc, \#fc $bw, \#bw $name, \#name + $nconnections \#number of inputs ) self.$(id).set_update_time($update_time) self._$(id)_win = sip.wrapinstance(self.$(id).pyqwidget(), Qt.QWidget) @@ -90,6 +91,13 @@ $(gui_hint()($win))</make> <type>real</type> </param> <param> + <name>Number of Inputs</name> + <key>nconnections</key> + <value>1</value> + <type>int</type> + <hide>part</hide> + </param> + <param> <name>Update Period</name> <key>update_time</key> <value>0.10</value> @@ -106,7 +114,7 @@ $(gui_hint()($win))</make> <sink> <name>in</name> <type>$type</type> - <nports>1</nports> + <nports>$nconnections</nports> </sink> <doc> The GUI hint can be used to position the widget within the application. \ |