discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] question about set_output_multiple


From: dcardona
Subject: Re: [Discuss-gnuradio] question about set_output_multiple
Date: Mon, 15 Jun 2015 08:23:06 -0700 (MST)

Hello Marcus

Thank you for your response

Before, I was setting the set_output_multiple at the constructor in the .cc
file and i was getting the error I said before 
Then, I set it in the .h file and I had no error.

Is it correct to set it in the .h file? Here are both the .cc and the . h
files. 

In the .cc file, the set_output_multiple is commented.

Codificador_bf_impl.h
<http://gnuradio.4.n7.nabble.com/file/n54187/Codificador_bf_impl.h>  
Codificador_bf_impl.cc
<http://gnuradio.4.n7.nabble.com/file/n54187/Codificador_bf_impl.cc>  

Also, I set:   int n;
      ninput_items_required[0] = noutput_items - n;
at the forecast method. I did this for the reason i explained before; If i
have for example 16 items at the in put, i need to have 16 + n items at the
output. Is this configured right?

Another question: This is about the ninput_items.  How should I set it for
my requirements? I suppose this ninput_items should depend of "tamano",
which is the size of the input stream.
Should I use ninput_items instead of tamano in the code? And if this right,
should I set set_output_multiple(int ninput_items + n) instead of
set_output_multiple(int tamano + n)?

PD: In the .cc file you can take a look at the c++ code for the chaotic
coding if you like. And if you are interested, i can send you the c++ code
that gives those values of "zmean3", "zmean6", "secuencias3" and
"secuencias6" and the paper where the theory of this coding method is
specified.

Thank you very much.

David




--
View this message in context: 
http://gnuradio.4.n7.nabble.com/question-about-set-output-multiple-tp54173p54187.html
Sent from the GnuRadio mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]