I think you are making wrong use of the unpacked_to_packed block:
I think so to. I was creating the file in Matlab, writing zeros and ones
as chars to a file, used that file as input to the flow- graph...
So to get my original code to work, I had to write "27" in the data file
(27 = 0001
I think you are making wrong use of the unpacked_to_packed block:
Your source is a file with bytes.
These should be considered "packed"
(i.e., bits are packed into a byte).
Thus you need to unpack them using
packed_to_unpacked_bb(2,GR_MSB_FIRST)
The output of this block will be bytes, each havin
Please disregard my last mail on the same topic.
I figured it out. It turned out there was no problem once I figured a
bit about what packed and unpacked bytes actually mean.
This shows how important having a cup of coffee now and then is...
cheers,
//Mattias
___
Mattias Kjellsson wrote:
> Hi again,
>
> Thanks for the reply, that confirmed my suspicion of me being wrong
> about D=2.
>
> But then I am wondering how the gr_unpacked_to_packed_bb- block is working?
>
> When I setup a unpacked_to_packed_bb(2,GR_MSB_FIRST) (I guess GR_MSB_FIRST
> on a regular int
Hi again,
Thanks for the reply, that confirmed my suspicion of me being wrong
about D=2.
But then I am wondering how the gr_unpacked_to_packed_bb- block is working?
When I setup a unpacked_to_packed_bb(2,GR_MSB_FIRST) (I guess GR_MSB_FIRST
on a regular intel x86, right?) and connect it to a
gr_c
In chunks-to-symbols you need a lookup table of one dimension, so
D=1 and it should contain 4 entries.
Achilleas
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Hi list,
I'm currently working on increasing my modulation from BPSK to (at
first) QPSK using the c++ api.
I have come across something I can't really figure out by myself.
According to the api, gr_make_unpacked_to_packed_bb followed by
gr_chunks_to_symbols_bc should take care
of mapping bits to