[Top][All Lists]

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

[Discuss-gnuradio] File Sink Behavior

From: Richard Bell
Subject: [Discuss-gnuradio] File Sink Behavior
Date: Fri, 8 May 2015 10:55:06 -0700

I'm testing a radio by sending known data through from a file source, and file sinking the data at the end of the Tx/Rx loopback chain. I'm getting very specific erratic behavior with the contents of the output file. One of two things happens. First, the output data is perfect. Second, the first line of the input file is repeated once, and then the data is perfect there out. I'll represent the behavior below:

Line#                 InputFile.dat                OutputFile.dat w/ Error
1                       Hi how are you             Hi how are you
2                       1234567890                 Hi how are you
3                       Hi how are you             1234567890
4                       1234567890                 Hi how are you
5                       Hi how are you             1234567890
and so on

When doing BER calculations, this makes the measurement useless, because it looks like constant errors due to the first line repeat.

I've tested this with the File Sink Buffer on and off. It occurs in both situations. There is no recognizable pattern to me, sometimes it happens and sometimes it doesn't. Is there a buffer that does not get flushed somewhere that could cause this? Has anyone seen this behavior before?


reply via email to

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