From 0a73facce3ce4eba23676df5f22f222df319ed87 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Thu, 13 Aug 2009 23:59:06 -0700 Subject: this time commit the file changes --- grc/blocks/Makefile.am | 2 ++ grc/blocks/block_tree.xml | 2 ++ grc/blocks/gr_message_sink.xml | 72 ++++++++++++++++++++++++++++++++++++++++ grc/blocks/gr_message_source.xml | 58 ++++++++++++++++++++++++++++++++ 4 files changed, 134 insertions(+) (limited to 'grc/blocks') diff --git a/grc/blocks/Makefile.am b/grc/blocks/Makefile.am index 025c261f4..fbd8f4bb4 100644 --- a/grc/blocks/Makefile.am +++ b/grc/blocks/Makefile.am @@ -123,6 +123,8 @@ dist_ourdata_DATA = \ gr_kludge_copy.xml \ gr_map_bb.xml \ gr_max_xx.xml \ + gr_message_sink.xml \ + gr_message_source.xml \ gr_moving_average_xx.xml \ gr_mpsk_receiver_cc.xml \ gr_mpsk_sync_cc.xml \ diff --git a/grc/blocks/block_tree.xml b/grc/blocks/block_tree.xml index 9eda2fdcf..2cedb45a2 100644 --- a/grc/blocks/block_tree.xml +++ b/grc/blocks/block_tree.xml @@ -20,6 +20,7 @@ gr_udp_source audio_source gr_wavfile_source + gr_message_source pad_source @@ -32,6 +33,7 @@ gr_udp_sink audio_sink gr_wavfile_sink + gr_message_sink pad_sink diff --git a/grc/blocks/gr_message_sink.xml b/grc/blocks/gr_message_sink.xml index e69de29bb..76537f283 100644 --- a/grc/blocks/gr_message_sink.xml +++ b/grc/blocks/gr_message_sink.xml @@ -0,0 +1,72 @@ + + + + Message Sink + gr_message_sink + from gnuradio import gr + gr.message_sink($type.size*$vlen, $(id)_msgq, $dont_block) + + Input Type + type + enum + + + + + + + + Don't Block + dont_block + False + enum + + + + + Vec Length + vlen + 1 + int + + $vlen > 0 + + in + $type + $vlen + + + out + msg + + diff --git a/grc/blocks/gr_message_source.xml b/grc/blocks/gr_message_source.xml index e69de29bb..44378ae83 100644 --- a/grc/blocks/gr_message_source.xml +++ b/grc/blocks/gr_message_source.xml @@ -0,0 +1,58 @@ + + + + Message Source + gr_message_source + from gnuradio import gr + gr.message_source($type.size*$vlen, $(id)_msgq) + + Output Type + type + enum + + + + + + + + Vec Length + vlen + 1 + int + + $vlen > 0 + + in + msg + + + out + $type + $vlen + + -- cgit