Fast low latency live data transfer

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.

답변 (1개)

Sean de Wolski
Sean de Wolski 2017년 10월 3일

0 개 추천

Have you considered using Instrument Control Toolbox which has native UDP capabilities?

댓글 수: 1

Doctor G
Doctor G 2017년 10월 3일
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#.

댓글을 달려면 로그인하십시오.

카테고리

제품

태그

질문:

2017년 10월 3일

댓글:

2017년 10월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by