Re: [Discuss-gnuradio] unpack k bits block with a new created block

2015-06-18 Thread Johannes Demel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey David, I suggest you read the tutorial [1]. It explains the various parts of a block in great detail. [1] https://gnuradio.org/redmine/projects/gnuradio/wiki/OutOfTreeModules On 18.06.2015 00:12, dcardona wrote: Hello Johannes. Thank you

Re: [Discuss-gnuradio] unpack k bits block with a new created block

2015-06-17 Thread dcardona
Hello Johannes. Thank you for answering me. I did what told me and it didn't give that error, but when i connect my block's output to a qtgui_time_sink, I don't see anything. I put the loop you told me below the // Do +signal processing+ part, Is it there or in the constructor? Thank you very

Re: [Discuss-gnuradio] unpack k bits block with a new created block

2015-06-17 Thread Johannes Demel
Hey David, you should be able to store your bits in a vector. First of all, unpack_k_bits will yield bytes with the LSB carrying the actual bit. All the others should be '0'. Next, the error you get points in another direction. One of the parameters 'work' gets is a vector with void pointers.

[Discuss-gnuradio] unpack k bits block with a new created block

2015-06-16 Thread dcardona
HI I'm using the unpack k bits block (which is located at the output of a vector source), before the new block that I'm trying to create. I would want to save all the bits at the output of the unpacked k bits block, in a vector (inside the block), so I can manipulate them individually. Is it