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 fi
Hi Marcus.
Thanks for your message.
How can I take just the real number of that pair? do you have a reference
page of the command?
I was reading a lot yesterday and my search wasn't well.
I understood that I need to send the pair. Is it possible to send just the
real number?
Again, thanks a lot
You're explicitly sending a pair (pmt::cons), not a real or integer number!
On 27.06.2017 04:57, Cristian Rodríguez wrote:
> Hi.
>
> Thanks a lot for your time to read.
>
> I read the two links that you shared to me, Marcus. Thanks a lot for
> your help. But i still have a problem.
>
> I've imple
Hi.
Thanks a lot for your time to read.
I read the two links that you shared to me, Marcus. Thanks a lot for your
help. But i still have a problem.
I've implemented as follows:
- I create, the output, input and the handler:
message_port_register_out(pmt::mp("out_threshold"));
messa
Hi Cristian,
you need to subscribe a /handler/ to the message port. See:
https://wiki.gnuradio.org/index.php/Guided_Tutorial_Programming_Topics#5.3.2_Adding_Message_Passing_to_the_Code
It's absolutely up to you what kind of PMT you're publishing over a
message port, but it's canonical to have a
Hi all,
I'm not sure about how to read and write PMT ports from and to local
variables. I'm going to expose what i'm doing, and if someone can help me i
would be very greatful.
I've created an input and an output of PMT type.
message_port_register_in(pmt::pmt_t in_threshold)
message_port_registe