commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] [gnuradio] 15/37: grc: fixing some spacing issues in v


From: git
Subject: [Commit-gnuradio] [gnuradio] 15/37: grc: fixing some spacing issues in various xml files.
Date: Thu, 17 Jul 2014 20:23:41 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

trondeau pushed a commit to branch master
in repository gnuradio.

commit 9be66b1a7883d97bc10408d000efa3e6c304f050
Author: Tom Rondeau <address@hidden>
Date:   Fri Jul 11 15:55:17 2014 -0400

    grc: fixing some spacing issues in various xml files.
---
 gr-blocks/grc/blocks_copy.xml                      | 179 ++++++------
 .../grc/digital_constellation_receiver_cb.xml      | 158 +++++------
 gr-qtgui/grc/qtgui_freq_sink_x.xml                 | 108 ++++----
 gr-qtgui/grc/qtgui_sink_x.xml                      | 303 +++++++++++----------
 gr-qtgui/grc/qtgui_waterfall_sink_x.xml            | 218 +++++++--------
 5 files changed, 494 insertions(+), 472 deletions(-)

diff --git a/gr-blocks/grc/blocks_copy.xml b/gr-blocks/grc/blocks_copy.xml
index 48676b5..6192937 100644
--- a/gr-blocks/grc/blocks_copy.xml
+++ b/gr-blocks/grc/blocks_copy.xml
@@ -5,95 +5,100 @@
 ###################################################
  -->
 <block>
-       <name>Copy</name>
-       <key>blocks_copy</key>
-       <import>from gnuradio import blocks</import>
-       <make>blocks.copy($type.size*$vlen)
+  <name>Copy</name>
+  <key>blocks_copy</key>
+  <import>from gnuradio import blocks</import>
+  <make>blocks.copy($type.size*$vlen)
 self.$(id).set_enabled($enabled)</make>
-       <callback>set_enabled($enabled)</callback>
-       <param>
-               <name>Type</name>
-               <key>type</key>
-               <type>enum</type>
-               <option>
-                       <name>Complex</name>
-                       <key>complex</key>
-                       <opt>size:gr.sizeof_gr_complex</opt>
-               </option>
-               <option>
-                       <name>Float</name>
-                       <key>float</key>
-                       <opt>size:gr.sizeof_float</opt>
-               </option>
-               <option>
-                       <name>Int</name>
-                       <key>int</key>
-                       <opt>size:gr.sizeof_int</opt>
-               </option>
-               <option>
-                       <name>Short</name>
-                       <key>short</key>
-                       <opt>size:gr.sizeof_short</opt>
-               </option>
-               <option>
-                       <name>Byte</name>
-                       <key>byte</key>
-                       <opt>size:gr.sizeof_char</opt>
-               </option>
-       </param>
-       <param>
-               <name>Enabled</name>
-               <key>enabled</key>
-               <value>True</value>
-               <type>bool</type>
-               <option>
-                       <name>Enabled</name>
-                       <key>True</key>
-               </option>
-               <option>
-                       <name>Disabled</name>
-                       <key>False</key>
-               </option>
-       </param>
-       <param>
-               <name>Vec Length</name>
-               <key>vlen</key>
-               <value>1</value>
-               <type>int</type>
-       </param>
+  <callback>set_enabled($enabled)</callback>
 
-        <param>
-          <name>Show Msg Ports</name>
-          <key>showports</key>
-          <value>True</value>
-          <type>enum</type>
-          <hide>part</hide>
-          <option>
-            <name>Yes</name>
-            <key>False</key>
-          </option>
-          <option>
-            <name>No</name>
-            <key>True</key>
-          </option>
-        </param>
+  <param>
+    <name>Type</name>
+    <key>type</key>
+    <type>enum</type>
+    <option>
+      <name>Complex</name>
+      <key>complex</key>
+      <opt>size:gr.sizeof_gr_complex</opt>
+    </option>
+    <option>
+      <name>Float</name>
+      <key>float</key>
+      <opt>size:gr.sizeof_float</opt>
+    </option>
+    <option>
+      <name>Int</name>
+      <key>int</key>
+      <opt>size:gr.sizeof_int</opt>
+    </option>
+    <option>
+      <name>Short</name>
+      <key>short</key>
+      <opt>size:gr.sizeof_short</opt>
+    </option>
+    <option>
+      <name>Byte</name>
+      <key>byte</key>
+      <opt>size:gr.sizeof_char</opt>
+    </option>
+  </param>
 
-       <check>$vlen &gt; 0</check>
+  <param>
+    <name>Enabled</name>
+    <key>enabled</key>
+    <value>True</value>
+    <type>bool</type>
+    <option>
+      <name>Enabled</name>
+      <key>True</key>
+    </option>
+    <option>
+      <name>Disabled</name>
+      <key>False</key>
+    </option>
+  </param>
 
-       <sink>
-               <name>in</name>
-               <type>$type</type>
-               <vlen>$vlen</vlen>
-       </sink>
-       <sink>
-               <name>en</name>
-               <type>message</type>
-               <optional>1</optional>
-                <hide>$showports</hide>
-       </sink>
-       <source>
-               <name>out</name>
-               <type>$type</type>
-               <vlen>$vlen</vlen>
-       </source>
+  <param>
+    <name>Vec Length</name>
+    <key>vlen</key>
+    <value>1</value>
+    <type>int</type>
+  </param>
+
+  <param>
+    <name>Show Msg Ports</name>
+    <key>showports</key>
+    <value>True</value>
+    <type>enum</type>
+    <hide>part</hide>
+    <option>
+      <name>Yes</name>
+      <key>False</key>
+    </option>
+    <option>
+      <name>No</name>
+      <key>True</key>
+    </option>
+  </param>
+
+  <check>$vlen &gt; 0</check>
+
+  <sink>
+    <name>in</name>
+    <type>$type</type>
+    <vlen>$vlen</vlen>
+  </sink>
+
+  <sink>
+    <name>en</name>
+    <type>message</type>
+    <optional>1</optional>
+    <hide>$showports</hide>
+  </sink>
+
+  <source>
+    <name>out</name>
+    <type>$type</type>
+    <vlen>$vlen</vlen>
+  </source>
 </block>
diff --git a/gr-digital/grc/digital_constellation_receiver_cb.xml 
b/gr-digital/grc/digital_constellation_receiver_cb.xml
index 978020f..06155ec 100644
--- a/gr-digital/grc/digital_constellation_receiver_cb.xml
+++ b/gr-digital/grc/digital_constellation_receiver_cb.xml
@@ -5,88 +5,88 @@
 ###################################################
  -->
 <block>
-       <name>Constellation Receiver</name>
-       <key>digital_constellation_receiver_cb</key>
-       <import>from gnuradio import digital</import>
-       <make>digital.constellation_receiver_cb($constellation, $loop_bw, 
$fmin, $fmax)</make>
-       <param>
-               <name>Constellation Object</name>
-               <key>constellation</key>
-               <type>raw</type>
-       </param>
-       <param>
-               <name>Loop Bandwidth</name>
-               <key>loop_bw</key>
-               <type>real</type>
-       </param>
-       <param>
-               <name>Minimum Freq Deviation</name>
-               <key>fmin</key>
-               <type>real</type>
-       </param>
-       <param>
-               <name>Maximum Freq Deviation</name>
-               <key>fmax</key>
-               <type>real</type>
-       </param>
+  <name>Constellation Receiver</name>
+  <key>digital_constellation_receiver_cb</key>
+  <import>from gnuradio import digital</import>
+  <make>digital.constellation_receiver_cb($constellation, $loop_bw, $fmin, 
$fmax)</make>
+  <param>
+    <name>Constellation Object</name>
+    <key>constellation</key>
+    <type>raw</type>
+  </param>
+  <param>
+    <name>Loop Bandwidth</name>
+    <key>loop_bw</key>
+    <type>real</type>
+  </param>
+  <param>
+    <name>Minimum Freq Deviation</name>
+    <key>fmin</key>
+    <type>real</type>
+  </param>
+  <param>
+    <name>Maximum Freq Deviation</name>
+    <key>fmax</key>
+    <type>real</type>
+  </param>
 
-        <param>
-          <name>Show Msg Ports</name>
-          <key>showports</key>
-          <value>True</value>
-          <type>enum</type>
-          <hide>part</hide>
-          <option>
-            <name>Yes</name>
-            <key>False</key>
-          </option>
-          <option>
-            <name>No</name>
-            <key>True</key>
-          </option>
-        </param>
+  <param>
+    <name>Show Msg Ports</name>
+    <key>showports</key>
+    <value>True</value>
+    <type>enum</type>
+    <hide>part</hide>
+    <option>
+      <name>Yes</name>
+      <key>False</key>
+    </option>
+    <option>
+      <name>No</name>
+      <key>True</key>
+    </option>
+  </param>
 
-       <sink>
-               <name>in</name>
-               <type>complex</type>
-       </sink>
+  <sink>
+    <name>in</name>
+    <type>complex</type>
+  </sink>
 
-       <sink>
-               <name>set_constellation</name>
-               <type>message</type>
-                <optional>1</optional>
-                <hide>$showports</hide>
-       </sink>
+  <sink>
+    <name>set_constellation</name>
+    <type>message</type>
+    <optional>1</optional>
+    <hide>$showports</hide>
+  </sink>
 
-       <sink>
-               <name>rotate_phase</name>
-               <type>message</type>
-                <optional>1</optional>
-                <hide>$showports</hide>
-       </sink>
+  <sink>
+    <name>rotate_phase</name>
+    <type>message</type>
+    <optional>1</optional>
+    <hide>$showports</hide>
+  </sink>
 
-       <source>
-               <name>out</name>
-               <type>byte</type>
-       </source>
-       <source>
-               <name>error</name>
-               <type>float</type>
-               <optional>1</optional>
-       </source>
-       <source>
-               <name>phase</name>
-               <type>float</type>
-               <optional>1</optional>
-       </source>
-       <source>
-               <name>frequency</name>
-               <type>float</type>
-               <optional>1</optional>
-       </source>
-       <source>
-               <name>symbol</name>
-               <type>complex</type>
-               <optional>1</optional>
-       </source>
+  <source>
+    <name>out</name>
+    <type>byte</type>
+  </source>
+  <source>
+    <name>error</name>
+    <type>float</type>
+    <optional>1</optional>
+  </source>
+  <source>
+    <name>phase</name>
+    <type>float</type>
+    <optional>1</optional>
+  </source>
+  <source>
+    <name>frequency</name>
+    <type>float</type>
+    <optional>1</optional>
+  </source>
+  <source>
+    <name>symbol</name>
+    <type>complex</type>
+    <optional>1</optional>
+  </source>
 </block>
diff --git a/gr-qtgui/grc/qtgui_freq_sink_x.xml 
b/gr-qtgui/grc/qtgui_freq_sink_x.xml
index c19ee03..632db25 100644
--- a/gr-qtgui/grc/qtgui_freq_sink_x.xml
+++ b/gr-qtgui/grc/qtgui_freq_sink_x.xml
@@ -72,59 +72,61 @@ $(gui_hint()($win))</make>
     <hide>#if len($name()) > 0 then 'none' else 'part'#</hide>
   </param>
 
-       <param>
-               <name>FFT Size</name>
-               <key>fftsize</key>
-               <value>1024</value>
-               <type>int</type>
-       </param>
-       <param>
-               <name>Window Type</name>
-               <key>wintype</key>
-               <value>firdes.WIN_BLACKMAN_hARRIS</value>
-               <type>enum</type>
-               <hide>part</hide>
-               <option>
-                       <name>Blackman-harris</name>
-                       <key>firdes.WIN_BLACKMAN_hARRIS</key>
-               </option>
-               <option>
-                       <name>Hamming</name>
-                       <key>firdes.WIN_HAMMING</key>
-               </option>
-               <option>
-                       <name>Hann</name>
-                       <key>firdes.WIN_HANN</key>
-               </option>
-               <option>
-                       <name>Blackman</name>
-                       <key>firdes.WIN_BLACKMAN</key>
-               </option>
-               <option>
-                       <name>Rectangular</name>
-                       <key>firdes.WIN_RECTANGULAR</key>
-               </option>
-               <option>
-                       <name>Kaiser</name>
-                       <key>firdes.WIN_KAISER</key>
-               </option>
-               <option>
-                       <name>Flat-top</name>
-                       <key>firdes.WIN_FLATTOP</key>
-               </option>
-       </param>
-       <param>
-               <name>Center Frequency (Hz)</name>
-               <key>fc</key>
-               <value>0</value>
-               <type>real</type>
-       </param>
-       <param>
-               <name>Bandwidth (Hz)</name>
-               <key>bw</key>
-               <value>samp_rate</value>
-               <type>real</type>
-       </param>
+  <param>
+    <name>FFT Size</name>
+    <key>fftsize</key>
+    <value>1024</value>
+    <type>int</type>
+  </param>
+
+  <param>
+    <name>Window Type</name>
+    <key>wintype</key>
+    <value>firdes.WIN_BLACKMAN_hARRIS</value>
+    <type>enum</type>
+    <hide>part</hide>
+    <option>
+      <name>Blackman-harris</name>
+      <key>firdes.WIN_BLACKMAN_hARRIS</key>
+    </option>
+    <option>
+      <name>Hamming</name>
+      <key>firdes.WIN_HAMMING</key>
+    </option>
+    <option>
+      <name>Hann</name>
+      <key>firdes.WIN_HANN</key>
+    </option>
+    <option>
+      <name>Blackman</name>
+      <key>firdes.WIN_BLACKMAN</key>
+    </option>
+    <option>
+      <name>Rectangular</name>
+      <key>firdes.WIN_RECTANGULAR</key>
+    </option>
+    <option>
+      <name>Kaiser</name>
+      <key>firdes.WIN_KAISER</key>
+    </option>
+    <option>
+      <name>Flat-top</name>
+      <key>firdes.WIN_FLATTOP</key>
+    </option>
+  </param>
+
+  <param>
+    <name>Center Frequency (Hz)</name>
+    <key>fc</key>
+    <value>0</value>
+    <type>real</type>
+  </param>
+  <param>
+    <name>Bandwidth (Hz)</name>
+    <key>bw</key>
+    <value>samp_rate</value>
+    <type>real</type>
+  </param>
 
   <param>
     <name>Autoscale</name>
diff --git a/gr-qtgui/grc/qtgui_sink_x.xml b/gr-qtgui/grc/qtgui_sink_x.xml
index 897eb63..7488ea5 100644
--- a/gr-qtgui/grc/qtgui_sink_x.xml
+++ b/gr-qtgui/grc/qtgui_sink_x.xml
@@ -5,13 +5,13 @@
 ###################################################
  -->
 <block>
-       <name>QT GUI Sink</name>
-       <key>qtgui_sink_x</key>
-       <import>from PyQt4 import Qt</import>
-       <import>from gnuradio import qtgui</import>
-       <import>from gnuradio.filter import firdes</import>
-       <import>import sip</import>
-       <make>#set $win = 'self._%s_win'%$id
+  <name>QT GUI Sink</name>
+  <key>qtgui_sink_x</key>
+  <import>from PyQt4 import Qt</import>
+  <import>from gnuradio import qtgui</import>
+  <import>from gnuradio.filter import firdes</import>
+  <import>import sip</import>
+  <make>#set $win = 'self._%s_win'%$id
 qtgui.$(type.fcn)(
        $fftsize, \#fftsize
        $wintype, \#wintype
@@ -36,146 +36,157 @@ def $(id)_callback(p, num):
 Qt.QObject.connect(self._$(id)_win, Qt.SIGNAL("plotPointSelected(QPointF, 
int)"), $(id)_callback )
 #end if
 
-</make>
-       <callback>set_frequency_range($fc, $bw)</callback>
-       <param>
-               <name>Type</name>
-               <key>type</key>
-               <value>complex</value>
-               <type>enum</type>
-               
<option><name>Complex</name><key>complex</key><opt>fcn:sink_c</opt></option>
-               
<option><name>Float</name><key>float</key><opt>fcn:sink_f</opt></option>
-       </param>
-       <param>
-               <name>Name</name>
-               <key>name</key>
-               <value>""</value>
-               <type>string</type>
-                <hide>#if len($name()) > 0 then 'none' else 'part'#</hide>
-       </param>
-       <param>
-               <name>FFT Size</name>
-               <key>fftsize</key>
-               <value>1024</value>
-               <type>int</type>
-       </param>
-       <param>
-               <name>Window Type</name>
-               <key>wintype</key>
-               <value>firdes.WIN_BLACKMAN_hARRIS</value>
-               <type>int</type>
-               <hide>part</hide>
-               <option>
-                       <name>Blackman-harris</name>
-                       <key>firdes.WIN_BLACKMAN_hARRIS</key>
-               </option>
-               <option>
-                       <name>Hamming</name>
-                       <key>firdes.WIN_HAMMING</key>
-               </option>
-               <option>
-                       <name>Hann</name>
-                       <key>firdes.WIN_HANN</key>
-               </option>
-               <option>
-                       <name>Blackman</name>
-                       <key>firdes.WIN_BLACKMAN</key>
-               </option>
-               <option>
-                       <name>Rectangular</name>
-                       <key>firdes.WIN_RECTANGULAR</key>
-               </option>
-               <option>
-                       <name>Kaiser</name>
-                       <key>firdes.WIN_KAISER</key>
-               </option>
-       </param>
-       <param>
-               <name>Center Frequency (Hz)</name>
-               <key>fc</key>
-               <value>0</value>
-               <type>real</type>
-       </param>
-       <param>
-               <name>Bandwidth (Hz)</name>
-               <key>bw</key>
-               <value>samp_rate</value>
-               <type>real</type>
-       </param>
-       <param>
-               <name>Update Rate</name>
-               <key>rate</key>
-               <value>10</value>
-               <type>real</type>
-       </param>
-
-        <param>
-          <name>Show RF Freq</name>
-          <key>showrf</key>
-          <value>False</value>
-          <type>enum</type>
-          <hide>part</hide>
-          <option>
-            <name>Yes</name>
-            <key>True</key>
-          </option>
-          <option>
-            <name>No</name>
-            <key>False</key>
-          </option>
-        </param>
-
-       <param>
-               <name>Plot Frequency</name>
-               <key>plotfreq</key>
-               <value>True</value>
-               <type>bool</type>
-               <hide>part</hide>
-               <option><name>On</name><key>True</key></option>
-               <option><name>Off</name><key>False</key></option>
-       </param>
-       <param>
-               <name>Plot Waterfall</name>
-               <key>plotwaterfall</key>
-               <value>True</value>
-               <type>bool</type>
-               <hide>part</hide>
-               <option><name>On</name><key>True</key></option>
-               <option><name>Off</name><key>False</key></option>
-       </param>
-       <param>
-               <name>Plot Time</name>
-               <key>plottime</key>
-               <value>True</value>
-               <type>bool</type>
-               <hide>part</hide>
-               <option><name>On</name><key>True</key></option>
-               <option><name>Off</name><key>False</key></option>
-       </param>
-       <param>
-               <name>Plot Const</name>
-               <key>plotconst</key>
-               <value>True</value>
-               <type>bool</type>
-               <hide>part</hide>
-               <option><name>On</name><key>True</key></option>
-               <option><name>Off</name><key>False</key></option>
-       </param>
-       <param>
-               <name>GUI Hint</name>
-               <key>gui_hint</key>
-               <value></value>
-               <type>gui_hint</type>
-               <hide>part</hide>
-       </param>
-       <param>
-               <name>Clicked freq variable</name>
-               <key>freqchangevar</key>
-               <value>None</value>
-               <type>raw</type>
-               <hide>part</hide>
-       </param>
+  </make>
+  <callback>set_frequency_range($fc, $bw)</callback>
 
+  <param>
+    <name>Type</name>
+    <key>type</key>
+    <value>complex</value>
+    <type>enum</type>
+    
<option><name>Complex</name><key>complex</key><opt>fcn:sink_c</opt></option>
+    <option><name>Float</name><key>float</key><opt>fcn:sink_f</opt></option>
+  </param>
+
+  <param>
+    <name>Name</name>
+    <key>name</key>
+    <value>""</value>
+    <type>string</type>
+    <hide>#if len($name()) > 0 then 'none' else 'part'#</hide>
+  </param>
+
+  <param>
+    <name>FFT Size</name>
+    <key>fftsize</key>
+    <value>1024</value>
+    <type>int</type>
+  </param>
+
+  <param>
+    <name>Window Type</name>
+    <key>wintype</key>
+    <value>firdes.WIN_BLACKMAN_hARRIS</value>
+    <type>int</type>
+    <hide>part</hide>
+    <option>
+      <name>Blackman-harris</name>
+      <key>firdes.WIN_BLACKMAN_hARRIS</key>
+    </option>
+    <option>
+      <name>Hamming</name>
+      <key>firdes.WIN_HAMMING</key>
+    </option>
+    <option>
+      <name>Hann</name>
+      <key>firdes.WIN_HANN</key>
+    </option>
+    <option>
+      <name>Blackman</name>
+      <key>firdes.WIN_BLACKMAN</key>
+    </option>
+    <option>
+      <name>Rectangular</name>
+      <key>firdes.WIN_RECTANGULAR</key>
+    </option>
+    <option>
+      <name>Kaiser</name>
+      <key>firdes.WIN_KAISER</key>
+    </option>
+  </param>
+
+  <param>
+    <name>Center Frequency (Hz)</name>
+    <key>fc</key>
+    <value>0</value>
+    <type>real</type>
+  </param>
+
+  <param>
+    <name>Bandwidth (Hz)</name>
+    <key>bw</key>
+    <value>samp_rate</value>
+    <type>real</type>
+  </param>
+
+  <param>
+    <name>Update Rate</name>
+    <key>rate</key>
+    <value>10</value>
+    <type>real</type>
+  </param>
+
+  <param>
+    <name>Show RF Freq</name>
+    <key>showrf</key>
+    <value>False</value>
+    <type>enum</type>
+    <hide>part</hide>
+    <option>
+      <name>Yes</name>
+      <key>True</key>
+    </option>
+    <option>
+      <name>No</name>
+      <key>False</key>
+    </option>
+  </param>
+
+  <param>
+    <name>Plot Frequency</name>
+    <key>plotfreq</key>
+    <value>True</value>
+    <type>bool</type>
+    <hide>part</hide>
+    <option><name>On</name><key>True</key></option>
+    <option><name>Off</name><key>False</key></option>
+  </param>
+
+  <param>
+    <name>Plot Waterfall</name>
+    <key>plotwaterfall</key>
+    <value>True</value>
+    <type>bool</type>
+    <hide>part</hide>
+    <option><name>On</name><key>True</key></option>
+    <option><name>Off</name><key>False</key></option>
+  </param>
+
+  <param>
+    <name>Plot Time</name>
+    <key>plottime</key>
+    <value>True</value>
+    <type>bool</type>
+    <hide>part</hide>
+    <option><name>On</name><key>True</key></option>
+    <option><name>Off</name><key>False</key></option>
+  </param>
+
+  <param>
+    <name>Plot Const</name>
+    <key>plotconst</key>
+    <value>True</value>
+    <type>bool</type>
+    <hide>part</hide>
+    <option><name>On</name><key>True</key></option>
+    <option><name>Off</name><key>False</key></option>
+  </param>
+
+  <param>
+    <name>GUI Hint</name>
+    <key>gui_hint</key>
+    <value></value>
+    <type>gui_hint</type>
+    <hide>part</hide>
+  </param>
+
+  <param>
+    <name>Clicked freq variable</name>
+    <key>freqchangevar</key>
+    <value>None</value>
+    <type>raw</type>
+    <hide>part</hide>
+  </param>
 
   <param>
     <name>Show Msg Ports</name>
diff --git a/gr-qtgui/grc/qtgui_waterfall_sink_x.xml 
b/gr-qtgui/grc/qtgui_waterfall_sink_x.xml
index 2321acc..c6c6f68 100644
--- a/gr-qtgui/grc/qtgui_waterfall_sink_x.xml
+++ b/gr-qtgui/grc/qtgui_waterfall_sink_x.xml
@@ -51,114 +51,118 @@ $(gui_hint()($win))</make>
     <tab>Config</tab>
   </param_tab_order>
 
-       <param>
-               <name>Type</name>
-               <key>type</key>
-               <value>complex</value>
-               <type>enum</type>
-               
<option><name>Complex</name><key>complex</key><opt>fcn:waterfall_sink_c</opt></option>
-               
<option><name>Float</name><key>float</key><opt>fcn:waterfall_sink_f</opt></option>
-       </param>
-
-       <param>
-               <name>Name</name>
-               <key>name</key>
-               <value>""</value>
-               <type>string</type>
-                <hide>#if len($name()) > 0 then 'none' else 'part'#</hide>
-       </param>
-
-       <param>
-               <name>FFT Size</name>
-               <key>fftsize</key>
-               <value>1024</value>
-               <type>int</type>
-       </param>
-       <param>
-               <name>Window Type</name>
-               <key>wintype</key>
-               <value>firdes.WIN_BLACKMAN_hARRIS</value>
-               <type>int</type>
-               <hide>part</hide>
-               <option>
-                       <name>Blackman-harris</name>
-                       <key>firdes.WIN_BLACKMAN_hARRIS</key>
-               </option>
-               <option>
-                       <name>Hamming</name>
-                       <key>firdes.WIN_HAMMING</key>
-               </option>
-               <option>
-                       <name>Hann</name>
-                       <key>firdes.WIN_HANN</key>
-               </option>
-               <option>
-                       <name>Blackman</name>
-                       <key>firdes.WIN_BLACKMAN</key>
-               </option>
-               <option>
-                       <name>Rectangular</name>
+  <param>
+    <name>Type</name>
+    <key>type</key>
+    <value>complex</value>
+    <type>enum</type>
+    
<option><name>Complex</name><key>complex</key><opt>fcn:waterfall_sink_c</opt></option>
+    
<option><name>Float</name><key>float</key><opt>fcn:waterfall_sink_f</opt></option>
+  </param>
+
+  <param>
+    <name>Name</name>
+    <key>name</key>
+    <value>""</value>
+    <type>string</type>
+    <hide>#if len($name()) > 0 then 'none' else 'part'#</hide>
+  </param>
+
+  <param>
+    <name>FFT Size</name>
+    <key>fftsize</key>
+    <value>1024</value>
+    <type>int</type>
+  </param>
+
+  <param>
+    <name>Window Type</name>
+    <key>wintype</key>
+    <value>firdes.WIN_BLACKMAN_hARRIS</value>
+    <type>int</type>
+    <hide>part</hide>
+    <option>
+      <name>Blackman-harris</name>
+      <key>firdes.WIN_BLACKMAN_hARRIS</key>
+    </option>
+    <option>
+      <name>Hamming</name>
+      <key>firdes.WIN_HAMMING</key>
+    </option>
+    <option>
+      <name>Hann</name>
+      <key>firdes.WIN_HANN</key>
+    </option>
+    <option>
+      <name>Blackman</name>
+      <key>firdes.WIN_BLACKMAN</key>
+    </option>
+    <option>
+      <name>Rectangular</name>
                        <key>firdes.WIN_RECTANGULAR</key>
-               </option>
-               <option>
-                       <name>Kaiser</name>
-                       <key>firdes.WIN_KAISER</key>
-               </option>
-               <option>
-                       <name>Flat-top</name>
-                       <key>firdes.WIN_FLATTOP</key>
-               </option>
-       </param>
-       <param>
-               <name>Center Frequency (Hz)</name>
-               <key>fc</key>
-               <value>0</value>
-               <type>real</type>
-       </param>
-       <param>
-               <name>Bandwidth (Hz)</name>
-               <key>bw</key>
-               <value>samp_rate</value>
-               <type>real</type>
-       </param>
-
-       <param>
-               <name>Intensity Min</name>
-               <key>int_min</key>
-                <value>-140</value>
-               <type>float</type>
-                <hide>part</hide>
-       </param>
-
-       <param>
-               <name>Intensity Max</name>
-               <key>int_max</key>
-                <value>10</value>
-               <type>float</type>
-                <hide>part</hide>
-       </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>
-               <type>real</type>
-               <hide>part</hide>
-       </param>
-       <param>
-               <name>GUI Hint</name>
-               <key>gui_hint</key>
-               <value></value>
-               <type>gui_hint</type>
-               <hide>part</hide>
-       </param>
+    </option>
+    <option>
+      <name>Kaiser</name>
+      <key>firdes.WIN_KAISER</key>
+    </option>
+    <option>
+      <name>Flat-top</name>
+      <key>firdes.WIN_FLATTOP</key>
+    </option>
+  </param>
+
+  <param>
+    <name>Center Frequency (Hz)</name>
+    <key>fc</key>
+    <value>0</value>
+    <type>real</type>
+  </param>
+
+  <param>
+    <name>Bandwidth (Hz)</name>
+    <key>bw</key>
+    <value>samp_rate</value>
+    <type>real</type>
+  </param>
+
+  <param>
+    <name>Intensity Min</name>
+    <key>int_min</key>
+    <value>-140</value>
+    <type>float</type>
+    <hide>part</hide>
+  </param>
+
+  <param>
+    <name>Intensity Max</name>
+    <key>int_max</key>
+    <value>10</value>
+    <type>float</type>
+    <hide>part</hide>
+  </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>
+    <type>real</type>
+    <hide>part</hide>
+  </param>
+  <param>
+    <name>GUI Hint</name>
+    <key>gui_hint</key>
+    <value></value>
+    <type>gui_hint</type>
+    <hide>part</hide>
+  </param>
 
   <param>
     <name>Show Msg Ports</name>



reply via email to

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