Slow UDP data transfer from Target to Development computer

1 Ansicht (letzte 30 Tage)
Giannis Tz
Giannis Tz am 28 Feb. 2017
I use two simulink models, one running on a target computer and the other running on a development computer, to exchange UDP packets between those computers. Both models run at 1KHz. When sending data from development to target computer, everything works as expected. On the other hand when sending data (sine wave) from target to development computer, I can observe a long delay. As written in documentation, "UDP receive" block uses a FIFO to store the incoming data but what I need is a LIFO so as to keep the most recent value. Does anybody know if I made something wrong or if there is a better solution?

Antworten (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by