|
From: | Marcus Müller |
Subject: | Re: [Discuss-gnuradio] Read and Write a PMT input/output GNURadio C++ |
Date: | Tue, 27 Jun 2017 14:20:59 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 |
Hi Cristian,
>How can I take just the real number of that
pair?
pmt::car and pmt::cdr give you the first and second element of a pmt::cons. > do you have a reference page of the command? https://gnuradio.org/doc/doxygen/namespacepmt.html#a7ab95721db5cbda1852f13a92eee5362 I must admit that I find PMT not the best-documented piece of software myself. I understood that I need to send the pair. Is it possible to send just the real number?As said, you can send any PMT – it's just customary to follow a few common patterns. But sure, you can just as well just send pmt::from_double(your_double). Best regards, Marcus On 27.06.2017 14:16, Cristian Rodríguez
wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |