Fast low latency live data transfer

6 visualizzazioni (ultimi 30 giorni)
Doctor G
Doctor G il 3 Ott 2017
Commentato: Doctor G il 3 Ott 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.

Risposte (1)

Sean de Wolski
Sean de Wolski il 3 Ott 2017
Have you considered using Instrument Control Toolbox which has native UDP capabilities?
  1 Commento
Doctor G
Doctor G il 3 Ott 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#.

Accedi per commentare.

Tag

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by