My UDP client fell asleep and stop the package receiver, is there any command to make it listening continuously?

1 visualización (últimos 30 días)
Dear all,
I have a UDP connection between Visual Studio 2015 (server) and MATLAB 2016b (client). MATLAB receive each second data, but there is a momment that feel asleep and do not reived anything until I move the mouse. This aplication need to be recording during hours and i cannnot move the mouse manually. Is there any command to resolve it?
All the best,
Fran

Respuestas (1)

Sharmila Raghu
Sharmila Raghu el 29 de Dic. de 2016
I believe in this case the operating system is going to sleep and not MATLAB. The following links are for your reference which provides steps to make sure that the operating system does not fall asleep during the data collection process:
  1 comentario
Francisco Hernando-Gallego
Francisco Hernando-Gallego el 4 de En. de 2017
Dear Sharmila, Thanks for your comments. I also thought in this option and I have hold on to never.
The thing is that if I see sender display (VS) and receiver display (MATLAB) there is a moment that VS continuos sending but MS stop receiving, and I am searching for a matlab command or something like this to fell active the receiver.
All the best,
Fran

Iniciar sesión para comentar.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by