discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: udp source - too much data warning message


From: Marcus Müller
Subject: Re: udp source - too much data warning message
Date: Thu, 27 Apr 2023 13:30:11 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0

Hey Jorge,

just to avoid duplicating effort on the mailing list, and to document it for future search engine users, we discussed that yesterday on chat:

jofegoor
Hi all, I have a problem with the UDP sink and UDP soruce blocks, i am working on a
USRP > E312 and i made a copy of a .wav file and a python script on the USRP, 
the script is
from the GRC 3.8 and it is only a wav file source block and the UDP sink block, 
in
another flowgraph i have the correspondent UDP source and the audio sink, but a 
cant
hear the file just like a instant and then noise, when a run the host part of 
the test i
get this error:
gr::log :WARN: udp_source0 - Too much data; dropping packet.
what can i do?? i did a quick google search and all i could find was that i 
have to
modify the dp_source_impl.cc file, but i dont even know where that file is
funkylab
your UDP source is pushing out data as fast as it can through the network
which is much much faster than your soundcard consumes the samples, jofegoor
that means the network packets arrive at the UDP sink and that sink has nowhere 
to put
them
which means they get dropped.
So, long story short, UDP is the wrong protocol here, you need flow control. 
Try the
ZeroMQ request/reply pair of blocks, with the request on the "receiving" end 
and the
reply on the transmitting end.
jofegoor
i see, i'm gonna try this, thanks you for your time :)

Cheers,
Marcus
On 26.04.23 20:20, JORGE GONZALEZ ORELLANA via GNU Radio, the Free & Open-Source Toolkit for Software Radio wrote:
Hi all, I have a problem with the UDP sink and UDP source blocks, i am working on a USRP E312 and i made a copy of a .wav file and a python script on the USRP, the script is from the GRC 3.8 and it is only a wav file source block and the UDP sink block, in another flowgraph i have the correspondent UDP source and the audio sink, but i can't hear the file just like a instant and then noise, when i run the host part of the test i get this error:
gr::log :WARN: udp_source0 - Too much data; dropping packet.

<https://matrix.to/#/!PiiKkGTcBDLmPnxhoT:gnuradio.org/$tjRUpZbSBqdBSVt4j7pZ6YdDnpl1QRqhynkr1lK4g48?via=gnuradio.org&via=libera.chat&via=matrix.org>
What can I do?? i did a quick google search and all i could find was that i have to modify the dp_source_impl.cc <http://impl.cc> file, but i don't even know where that file is



reply via email to

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