I have Tx and Rx on different machines. To measure the BER, I need to
compare the a reference stream and the output stream of the demodulator.
I suspect that my way to obtain the reference stream is wrong.
Here is how I obtain the reference stream:
1: At the Tx, I used Random Source to generate a 0/1 sequence. This
is saved into a DAT file.
Random Source (Byte) --> File Sink (the file is saved as input.DAT)
2: Then I use the DAT file as the input of the Modulator, in this way, I
have the same input data every time when I run the flow diagram.
File Source (input.DAT) --> Modulator
3: I made a copy of the DAT file and put it on the Rx machine
4: I tried to compare the output of the demodulator and this DAT file,
something goes wrong here. The output of the demodulator is a 0/1
but the DAT file is not.
Could anyone guide me with this problem?
Thanks a lot!