|Subject:||[Discuss-gnuradio] Strange output of "0" at the terminal|
|Date:||Wed, 22 Feb 2012 14:48:06 +0900|
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?
|[Prev in Thread]||Current Thread||[Next in Thread]|