|
From: | Marcus Müller |
Subject: | Re: [Discuss-gnuradio] Async Message to File |
Date: | Thu, 18 Feb 2016 23:55:51 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 |
Ah, sorry, no, the block just takes the raw serialized pmt and
writes it to a file [1]: self._file.write(pmt.serialize_str(msg)) You could use python with pmt module to unserialize, but: if you just replace "serialize_str" with "to_float", this should give you what you expect. Notice this is really just experimental; copy the block to your own code. I'll probably rewrite as something in C++ to make it useful on platforms without python, too. Cheers, Marcus [1] https://github.com/marcusmueller/gr-msgtools/blob/master/python/msg_file_sink.py#L41 On 18.02.2016 23:13, Richard Bell
wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |