From 54c23abf9b9703b8d52704fa01b9d6069d9edf91 Mon Sep 17 00:00:00 2001 From: Tom Rondeau Date: Wed, 21 Nov 2012 18:11:20 -0500 Subject: core: adding GRC file for file metadata sink --- grc/blocks/gr_file_meta_sink.xml | 94 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 grc/blocks/gr_file_meta_sink.xml (limited to 'grc/blocks/gr_file_meta_sink.xml') diff --git a/grc/blocks/gr_file_meta_sink.xml b/grc/blocks/gr_file_meta_sink.xml new file mode 100644 index 000000000..13a7030b0 --- /dev/null +++ b/grc/blocks/gr_file_meta_sink.xml @@ -0,0 +1,94 @@ + + + + File Meta Sink + gr_file_meta_sink + from gnuradio import gr + gr.file_meta_sink($type.size*$vlen, $file, $samp_rate, $type.dtype, $type.cplx) +self.$(id).set_unbuffered($unbuffered) + set_unbuffered($unbuffered) + open($file) + + File + file + + file_save + + + Input Type + type + enum + + + + + + + + Sample Rate + samp_rate + samp_rate + real + + + Vec Length + vlen + 1 + int + + + Unbuffered + unbuffered + False + bool + + + + + $vlen > 0 + + in + $type + $vlen + + -- cgit