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

17 Ansichten (letzte 30 Tage)
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

Antworten (2)

Walter Roberson
Walter Roberson am 13 Feb. 2014
  2 Kommentare
Deborah
Deborah am 13 Feb. 2014
Bearbeitet: Deborah am 13 Feb. 2014
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 am 1 Mär. 2021
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.

Melden Sie sich an, um zu kommentieren.


Vinod
Vinod am 14 Feb. 2014
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

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by