summaryrefslogtreecommitdiff
path: root/gr-blocks/grc
diff options
context:
space:
mode:
authorTim O'Shea <tim.oshea753@gmail.com>2013-11-26 14:17:42 -0500
committerTom Rondeau <tom@trondeau.com>2013-11-27 15:28:33 -0500
commitf863f08c747d10feb2cee0ab4088da851d2e51b7 (patch)
tree0429fb764fb4ec7f000bef96b001676c33e506f7 /gr-blocks/grc
parent94976b10bf50c52e07f847e32683855b2b95b276 (diff)
blocks: allow the user to specify the tag key used in the tags_strobe block
Diffstat (limited to 'gr-blocks/grc')
-rw-r--r--gr-blocks/grc/blocks_tags_strobe.xml9
1 files changed, 8 insertions, 1 deletions
diff --git a/gr-blocks/grc/blocks_tags_strobe.xml b/gr-blocks/grc/blocks_tags_strobe.xml
index 16109eaad1..f17edd2b99 100644
--- a/gr-blocks/grc/blocks_tags_strobe.xml
+++ b/gr-blocks/grc/blocks_tags_strobe.xml
@@ -9,8 +9,9 @@
<key>blocks_tags_strobe</key>
<import>from gnuradio import blocks</import>
<import>import pmt</import>
- <make>blocks.tags_strobe($type.size*$vlen, $value, $nsamps)</make>
+ <make>blocks.tags_strobe($type.size*$vlen, $value, $nsamps, $key)</make>
<callback>set_value($value)</callback>
+ <callback>set_key($key)</callback>
<callback>set_nsamps($nsamps)</callback>
<param>
<name>Output Type</name>
@@ -49,6 +50,12 @@
<type>raw</type>
</param>
<param>
+ <name>Key (PMT)</name>
+ <key>key</key>
+ <value>pmt.intern("strobe")</value>
+ <type>raw</type>
+ </param>
+ <param>
<name>Num. Samples</name>
<key>nsamps</key>
<value>1000</value>