commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] r10781 - gnuradio/branches/developers/jblum/grc/grc/da


From: jblum
Subject: [Commit-gnuradio] r10781 - gnuradio/branches/developers/jblum/grc/grc/data/platforms/python/blocks
Date: Mon, 6 Apr 2009 13:46:59 -0600 (MDT)

Author: jblum
Date: 2009-04-06 13:46:58 -0600 (Mon, 06 Apr 2009)
New Revision: 10781

Modified:
   
gnuradio/branches/developers/jblum/grc/grc/data/platforms/python/blocks/gr_vector_sink_x.xml
   
gnuradio/branches/developers/jblum/grc/grc/data/platforms/python/blocks/gr_vector_source_x.xml
Log:
Added missing vlen param to vector source/sink in grc.



Modified: 
gnuradio/branches/developers/jblum/grc/grc/data/platforms/python/blocks/gr_vector_sink_x.xml
===================================================================
--- 
gnuradio/branches/developers/jblum/grc/grc/data/platforms/python/blocks/gr_vector_sink_x.xml
        2009-04-06 08:23:46 UTC (rev 10780)
+++ 
gnuradio/branches/developers/jblum/grc/grc/data/platforms/python/blocks/gr_vector_sink_x.xml
        2009-04-06 19:46:58 UTC (rev 10781)
@@ -8,7 +8,7 @@
        <name>Vector Sink</name>
        <key>gr_vector_sink_x</key>
        <import>from gnuradio import gr</import>
-       <make>gr.vector_sink_$(type.fcn)()</make>
+       <make>gr.vector_sink_$(type.fcn)($vlen)</make>
        <param>
                <name>Input Type</name>
                <key>type</key>
@@ -39,8 +39,16 @@
                        <opt>fcn:b</opt>
                </option>
        </param>
+       <param>
+               <name>Vec Length</name>
+               <key>vlen</key>
+               <value>1</value>
+               <type>int</type>
+       </param>
+       <check>$vlen &gt; 0</check>
        <sink>
                <name>in</name>
                <type>$type</type>
+               <vlen>$vlen</vlen>
        </sink>
 </block>

Modified: 
gnuradio/branches/developers/jblum/grc/grc/data/platforms/python/blocks/gr_vector_source_x.xml
===================================================================
--- 
gnuradio/branches/developers/jblum/grc/grc/data/platforms/python/blocks/gr_vector_source_x.xml
      2009-04-06 08:23:46 UTC (rev 10780)
+++ 
gnuradio/branches/developers/jblum/grc/grc/data/platforms/python/blocks/gr_vector_source_x.xml
      2009-04-06 19:46:58 UTC (rev 10781)
@@ -8,7 +8,7 @@
        <name>Vector Source</name>
        <key>gr_vector_source_x</key>
        <import>from gnuradio import gr</import>
-       <make>gr.vector_source_$(type.fcn)($vector, $repeat)</make>
+       <make>gr.vector_source_$(type.fcn)($vector, $repeat, $vlen)</make>
        <param>
                <name>Output Type</name>
                <key>type</key>
@@ -64,8 +64,16 @@
                        <key>False</key>
                </option>
        </param>
+       <param>
+               <name>Vec Length</name>
+               <key>vlen</key>
+               <value>1</value>
+               <type>int</type>
+       </param>
+       <check>$vlen &gt; 0</check>
        <source>
                <name>out</name>
                <type>$type</type>
+               <vlen>$vlen</vlen>
        </source>
 </block>





reply via email to

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