diff options
author | Tim O'Shea | 2012-11-30 22:31:43 -0800 |
---|---|---|
committer | Johnathan Corgan | 2012-11-30 22:41:46 -0800 |
commit | 6cc818260128df57c51a41e4e6aa459de5faf4fe (patch) | |
tree | b79aaa3f6c584c13bf203406367c756a98c94bdf /grc/blocks/gr_message_strobe.xml | |
parent | 4478cb86a5dc9fccf66c2cdd5806419b70c3837e (diff) | |
download | gnuradio-6cc818260128df57c51a41e4e6aa459de5faf4fe.tar.gz gnuradio-6cc818260128df57c51a41e4e6aa459de5faf4fe.tar.bz2 gnuradio-6cc818260128df57c51a41e4e6aa459de5faf4fe.zip |
core: gr_blocks can now have only message ports with no general_work()
* msg only blocks now get thread context
* added blocking msg queue delete call
* added gr_message_strobe block
* added grc definitions for message_debug, message_strobe, pdu_to_tagged_stream, tagged_stream_to_pdu.
* allow message fan-in connections in GRC
Diffstat (limited to 'grc/blocks/gr_message_strobe.xml')
-rw-r--r-- | grc/blocks/gr_message_strobe.xml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/grc/blocks/gr_message_strobe.xml b/grc/blocks/gr_message_strobe.xml new file mode 100644 index 000000000..60a7724df --- /dev/null +++ b/grc/blocks/gr_message_strobe.xml @@ -0,0 +1,35 @@ +<?xml version="1.0"?> +<!-- +################################################### +##Message Strobe +################################################### + --> +<block> + <name>Message Strobe</name> + <key>gr_message_strobe</key> + <import>from gnuradio import gr</import> + <import>from gruel import pmt</import> + <make>gr.message_strobe($msg, $period)</make> + <param> + <name>Message PMT</name> + <key>msg</key> + <value>pmt.pmt_intern("TEST")</value> + <type>raw</type> + </param> + <param> + <name>Period (ms)</name> + <key>period</key> + <value>1000</value> + <type>real</type> + </param> + <sink> + <name>set_msg</name> + <type>message</type> + <optional>1</optional> + </sink> + <source> + <name>strobe</name> + <type>message</type> + <optional>1</optional> + </source> +</block> |