Fast low latency live data transfer

6 views (last 30 days)
Doctor G
Doctor G on 3 Oct 2017
Commented: Doctor G on 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.

Answers (1)

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

Sign in to comment.

Tags

Products

Community Treasure Hunt

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

Start Hunting!