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

  • udp sourc... GNU Radio, the Free & Open-Source Toolkit for Software Radio
    • Re: ... Marcus Müller
      • ... David Martini

Reply via email to