Hi,
I've been investigating the pack /unpack /repack block since the
problem raised by Maitry where not originating from
modulation/demodulation (which I tested and was correct).
Maitry did some test using repetitive pattern of bits such as
1100, 1010,, and lead to the conclusion that its file sink was
correct (*).
I did similar test with small repetitive pattern but found
that only some of them give correct file sink (see explanation
further)
From this it seems that somewhere in its flowgraph bytes to bit
or bits to bytes conversion.
The attached flowgraph (GR 3.8 and 3.9, not compatible with GR
3.7) illustrates my investigation. Running this flowgraph shows
that whatever conversion is in use give the same series of bytes
and bits.
However, in order to obtain this I had to set endianness
to MSB for both repack blocks (all other blocks set to LSB). Il
all endianness are set to LSB, repack blogk reverse bit ordering
compared to pack/unpack blocks, OR uses symmetric pattern as
Maitry does (*).
I was expecting that unpack(8) and repack(8,1) should give the
same result
What am I missing or misunderstanding ?
Or is this a bug?
Maitry, please try to set Endianness to MSB in your repack block.
Not sure it cans solve your issue!
Regards,
On 11/11/2020 09:30, Maitry Raval
wrote:
Dear sir,
Thank you for your response.
As I have a final application to use only demodulation and
data storage using GNU radio as my transmitter is external.
after that also I am facing an issue for stored data which is
random not as transmitted. so request you to please guide me
further in this demodulation.
Thank you in advance
With Best Regards,
Maitry Raval,
R& D engineer|Azista Industries Pvt Ltd|
079-40605800|www.azistaaerospace.com
From: "Christophe
Seguinot"
To: "Maitry Raval"
Cc: "discuss-gnuradio"
Sent: Wednesday, November 11, 2020 1:53:34 PM
Subject: Re: Issue in file sink block
Hi
I've been investigating but did not yet found the origin of
this problem. I'm working under GR 3.9/Ubuntu 20.04
the bit sequence is correctly demodulated, whatever the
source (txt or random) is. There is a 58 sample delay
between bit source and demodulated bit. (so
modulation/demodulation is OK)
however, the received bytes don't match the emitted
bytes.
I'm further investigating if "pack bits" and "unpack
bits" block are used correctly (I'm not familiar to them)
Regards
On 11/11/2020 04:25, Maitry Raval
wrote:
Hello,
I think there is some misunderstanding here, I am
using the attached grc file which includes all the ok
blocks such as polyphase clock sync, costas loop, CMA
equilizer etc for demodulation. Please check the
attached file. for the attached grc, I am facing the
below issue.
I understand that I
have use online ASCII to binary converter and for that
I am using below online converter.
https://www.rapidtables.com/convert/number/ascii-to-binary.html
But I am facing an
issue, while I am transmitting repetitive pattern such
as 1100, 1010 , the data stored in the file after
mod-demod is almost similar( only some initial bits
are changed) . Please check the screenshot attached.
But when I am
transmitting some random pattern instead of repetitive
using file source, I am not receiving the same
pattern, while I am converting the stored ASCII to
binary using converter.
Please help.
With Best Regards,
Maitry Raval,
R& D engineer|Azista Industries Pvt Ltd|
079-40605800|www.azistaaerospace.com