Re: [Discuss-gnuradio] a two blocks synchronizing problem

2015-07-01 Thread dcardona
Thank you Marcus. I saw my mistakes, now both blocks are finally working fine! Thank you for all your help. And thank to all that helped me. -- View this message in context: http://gnuradio.4.n7.nabble.com/a-two-blocks-synchronizing-problem-tp54499p54575.html Sent from the GnuRadio mailing li

Re: [Discuss-gnuradio] a two blocks synchronizing problem

2015-07-01 Thread Marcus Müller
Sorry, typo: ... > then your arguments must have types but need to be identifiers and can be > expressions that give you a value ... is wrong, needs to read > can *not* be expressions that give you a value Full text, corrected: >> In another topic, you wrote me that was syntactically incorrect

Re: [Discuss-gnuradio] a two blocks synchronizing problem

2015-07-01 Thread Marcus Müller
Hi! > In another topic, you wrote me that was syntactically incorrect and you > advice me to set it like this: > set_output_multiple(tamano_entrada+nsimbolo); > > But this way I get the errors <‘tamano_entrada’ is not a type> and ‘,’ or ‘...’ before ‘+’ token> Different things are correct to do d

Re: [Discuss-gnuradio] a two blocks synchronizing problem

2015-07-01 Thread dcardona
Hello again I'm sorry, in the last message, tamano_entrada is 8 and nsimbolo is 3 (this is for the encoder). Also, I had probed doing this scheme in two parts: First I took a vector source as a binary entry for the encoder. The encoder's output was what I have expected it to be. I had the same 1

Re: [Discuss-gnuradio] a two blocks synchronizing problem

2015-07-01 Thread dcardona
Hello Marcus. Thank you for your response. I I had already done that when I made the question, I'm sorry I didn't specified it. This is how I set it: In another topic, you wrote me that was syntactically incorrect and you advice me to set it like this: set_output_multiple(tamano_entrada+nsimb

Re: [Discuss-gnuradio] a two blocks synchronizing problem

2015-06-29 Thread Marcus Müller
Hi David, GNU Radio really makes sure you are only greeted with samples you did not already consume, and you don't miss a single one, so in principle, this should work. Do you check that you a) don't produce more samples than you are allowed to (noutput_items) in your encoder and b) don't consume

[Discuss-gnuradio] a two blocks synchronizing problem

2015-06-29 Thread dcardona
Hello I created 2 new blocks, one is an encoder and the other one a decoder. I needed the encoder block to had 8 input items (from a vector source) and 11 output items, so I set: consume each(8) and return(11). I did not have any problem with it. Now, for the decoder block, I needed to had 11 inp