discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] variable type while creating a block


From: Jeon
Subject: Re: [Discuss-gnuradio] variable type while creating a block
Date: Wed, 17 Jun 2015 16:30:38 +0900

Dear Marbelly,

unpack_k_bits with k = 1 means, for instance,
a byte sample 0x0F (0b0000 1111) in a stream
is unpacked to 0x00 0x00 0x00 0x00 0x01 0x01 0x01 0x01 (MSB first)
and only the first insignificant sample is taken and the rest 7 samples are discarded.

So if you want to process 8 bits in a byte individually, use unpack_k_bits with k = 8.

Regards,
Jeon.

2015-06-17 11:49 GMT+09:00 Marbellys <address@hidden>:
Thank you.



--
View this message in context: http://gnuradio.4.n7.nabble.com/variable-type-while-creating-a-block-tp54226p54232.html
Sent from the GnuRadio mailing list archive at Nabble.com.

_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


reply via email to

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