summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--grc/blocks/usrp2_sink_xxxx.xml3
-rw-r--r--grc/blocks/usrp2_source_xxxx.xml3
2 files changed, 6 insertions, 0 deletions
diff --git a/grc/blocks/usrp2_sink_xxxx.xml b/grc/blocks/usrp2_sink_xxxx.xml
index f2ee4d151..14586cc36 100644
--- a/grc/blocks/usrp2_sink_xxxx.xml
+++ b/grc/blocks/usrp2_sink_xxxx.xml
@@ -36,11 +36,13 @@ self.$(id).set_center_freq($frequency)</callback>
<name>Complex</name>
<key>complex</key>
<opt>fcn:32fc</opt>
+ <opt>vlen:1</opt>
</option>
<option>
<name>Short</name>
<key>short</key>
<opt>fcn:16sc</opt>
+ <opt>vlen:2</opt>
</option>
</param>
<param>
@@ -85,6 +87,7 @@ self.$(id).set_center_freq($frequency)</callback>
<sink>
<name>in</name>
<type>$type</type>
+ <vlen>$type.vlen</vlen>
</sink>
<doc>
The USRP2 sink inputs 100 Megasamples per second / interpolation.
diff --git a/grc/blocks/usrp2_source_xxxx.xml b/grc/blocks/usrp2_source_xxxx.xml
index 02046e609..0f297dfd1 100644
--- a/grc/blocks/usrp2_source_xxxx.xml
+++ b/grc/blocks/usrp2_source_xxxx.xml
@@ -36,11 +36,13 @@ self.$(id).set_center_freq($frequency)</callback>
<name>Complex</name>
<key>complex</key>
<opt>fcn:32fc</opt>
+ <opt>vlen:1</opt>
</option>
<option>
<name>Short</name>
<key>short</key>
<opt>fcn:16sc</opt>
+ <opt>vlen:2</opt>
</option>
</param>
<param>
@@ -85,6 +87,7 @@ self.$(id).set_center_freq($frequency)</callback>
<source>
<name>out</name>
<type>$type</type>
+ <vlen>$type.vlen</vlen>
</source>
<doc>
The USRP2 source outputs 100 Megasamples per second / decimation.