Re: [Discuss-gnuradio] coding problem

2018-05-02 Thread Martin Braun
On 04/25/2018 03:11 AM, 김무연 wrote: > Mostly I just followed the way on the internet > My goal is using 'for' structure and comparing the power > So save the highest power in pow and send 1 > if not sustain the previous highest power value and send 0 > So my problem is pow does not save the value

[Discuss-gnuradio] coding problem

2018-04-25 Thread 김무연
Recently I made block with simple coding using c++my_demod_block_cb_impl::my_demod_block_cb_impl()  : gr::block("my_demod_block_cb",  gr::io_signature::make(1, 1, sizeof(float)),  gr::io_signature::make(1, 1, sizeof(char)))    {}As you can see I use float as an input,