Fast low latency live data transfer

6 vues (au cours des 30 derniers jours)
Doctor G
Doctor G le 3 Oct 2017
Commenté : Doctor G le 3 Oct 2017
I have a .NET Assembly that is receiving live UDP data. I want to push that up to Matlab. I have used the .net event mechansim https://www.mathworks.com/help/matlab/matlab_external/use-net-events-in-matlab.html in the past, but I wonder if this is the lowest latency and least processing load. I expect about 10 or so 150 byte messages a second to need to be passed between the interface from .NET to Matlab, and then Matlab will have to do some parsing and display. So I want to minimize as much as possible the cost of carrying data across the barrier.

Réponses (1)

Sean de Wolski
Sean de Wolski le 3 Oct 2017
Have you considered using Instrument Control Toolbox which has native UDP capabilities?
  1 commentaire
Doctor G
Doctor G le 3 Oct 2017
The messages are multicast and there is protocol on top of the UDP called DIS, which I also need to handle in the C# layer, so no, I would not want to use a raw UDP toolbox. I want the coordinate framework transforms, and the dead reckonging algorithms running in C#.

Connectez-vous pour commenter.

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by