Low Latency Memory Data Transfer between Two MATLAB instances on Two RTLinux OS Computers

조회 수: 17 (최근 30일)
Hi,
Does anyone out there have any experience with real time data transfer between two matlab instances on two computers who may suggest the appropriate configuration?
I'm interested in both the correct use of MATLAB software functions (most likely from Instrument Control Toolbox) and of the best cable connection that optimizes speed and latency of binary data transfers between MATLAB memory's of two RTLinux computers (bandwidth is not an issue as much because the data is not too large that I want to transfer). In other words I'm interested in:
(1) the fastest function call to use within MATLAB (e.g. serial(),udp(),..) to transfer binary data in memory from one MATLAB instance on RTLinux Computer #1 to memory of second MATLAB instance on RTLinux Computer #2. I'm assuming this is using Instrument Control Toolbox, but am open to other solutions.
and
(2) the fastest cable connection between the two laptops (e.g. thunderbolt (if I use two mac's), firewire, usb3.0, GiGE, Ethernet)
Thank you for your help in advance, Deborah

답변 (2개)

Walter Roberson
Walter Roberson 2014년 2월 13일
  댓글 수: 2
Deborah
Deborah 2014년 2월 13일
편집: Deborah 2014년 2월 13일
Thanks for the links! I'm not sure what drivers are available for each cable connection and which ones are supported by instrument control toolbox to go from computer to computer...
I'm thinking of USB3 cable connection because thunderbolt may be too new and still learning about it, but I'm not sure which MATLAB command to use in order to send binary data between two computers via USB3 cable.. All i can find is MATLAB's USB-VISA command, which I think is for vendor specific products (agilent, ni, tek) not from one computer to another (from what I can tell, but I am just learning about Instrument Control Toolbox, so I may have missed something)
Samuel Gray
Samuel Gray 2021년 3월 1일
You can use usb to serial adapters on each end (which you will have to do anyway if the distance between them is more than 20 feet or so), and just use standard serial commands to transfer the data. But then you could use usb to ethernet adapters just as easily. USB is the gift that keeps on giving.

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


Vinod
Vinod 2014년 2월 14일
Hi Deborah,
Have you taken a look at this?
If you have gigabit Ethernet connection between the computers, this is about as fast as you can go, without some custom hardware bus between the two computers.
Hope this helps, -Vinod

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by