# DPSK Demodulation Output

**URL:** <https://www.ruby-forum.com/t/dpsk-demodulation-output/160679>\
**Category:** GNU Radio\
**Created:** [February 18, 2009, 7:00pm UTC](https://www.ruby-forum.com/t/dpsk-demodulation-output/160679 "2009-02-18T19:00:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Charles\_Judah](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/e5b9ba/32.png) [@Charles\_Judah](https://www.ruby-forum.com/u/Charles_Judah)\
**Post date:** [February 18, 2009, 7:00pm UTC](https://www.ruby-forum.com/t/dpsk-demodulation-output/160679/1 "2009-02-18T19:00:21Z")

</div>

Hello All,

My name is Charles and I’m a senior at California State University  
Northridge. The team I am with is currently working on implementing a  
digital communications scheme between a flying object and a ground based  
station.

I am having issues with the Demodulation block of the DPSK (in DBPSK  
mode).  
The setup is, I read a binary file and send that directly into the DPSK  
Modulator. I then immediately Demodulate this signal in the GRC window  
and  
put it into a file. This process is not the inverse of itself. The  
output  
file is unintelligle to me with a text editor and with a hex editor.

My question is, if I were to open and read a binary file of only  
alternating  
1s and 0s into the DPSK modulator then immediately feed that back into  
the  
demodulator, what format is the demodulator putting byte data back out?  
Is  
it padding the information with 0s? Any insight into “how” the  
demodulation  
block submits the byte data to the subsequent connecting block would be  
greatly appreciated.

---

<div class="post-metadata">

**Author:** ![Charles\_Judah](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/e5b9ba/32.png) [@Charles\_Judah](https://www.ruby-forum.com/u/Charles_Judah)\
**Post date:** [February 20, 2009, 4:11pm UTC](https://www.ruby-forum.com/t/dpsk-demodulation-output/160679/2 "2009-02-20T16:11:12Z")

</div>

On Wed, 2009-02-18 at 09:59 -0800, Charles Judah wrote:

> My question is, if I were to open and read a binary file of only  
> alternating 1s and 0s into the DPSK modulator then immediately feed  
> that back into the demodulator, what format is the demodulator putting  
> byte data back out? Is it padding the information with 0s? Any insight  
> into “how” the demodulation block submits the byte data to the  
> subsequent connecting block would be greatly appreciated.

The demodulator blocks output demodulated bits in what we call  
“unpacked” form, which sends demodulated symbols in the LSBs of 1 byte  
items. In the case of dbpsk, these 1 byte items will have only the LSB  
toggled to represent a decoded 1 or 0.

Johnathan
