[Top][All Lists]

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

Re: [Discuss-gnuradio] Strange output of "0" at the terminal

From: Wu Ting
Subject: Re: [Discuss-gnuradio] Strange output of "0" at the terminal
Date: Wed, 22 Feb 2012 17:53:12 +0900

The output is “O” (Oh) not “0” (zero).


I made more tests and feel the problem may be from use of write() to write data into files. Anyone had similar problem?




From: address@hidden [mailto:address@hidden On Behalf Of Wu Ting
Sent: 2012
222 14:48
To: address@hidden
Subject: [Discuss-gnuradio] Strange output of "0" at the terminal


Hi all,


I’m now using message_sink and msg_queue to receive data from USRP. I do some calculation for all the data in the msg_queue one by one and write some of them into a file. Everything seems to be working smoothly. But once in a while, a “0” is printed in the terminal. (There is no code to print “0” in my program.) I checked the data, and found that every time a “0” is printed, some data are lost, and the length of lost data seems to be of hundreds of messages.


There is no other error information, so I’m really confused by this problem. Does anyone has a clue of what happened and how should I deal with it?





reply via email to

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