01-30-2010 01:35 AM - edited 01-30-2010 01:36 AM
hi
i have two distinct computers and 2 labview programs running on each computer. in one computer labview program is prepared for data acquisition and saving acquired data. now i want to send these acquired data by cable to another computer to be processed. first i am searching for the best protocol for sending data between these two computers. it is important for me to diliver data near real time approximately in milisecond. and finally is there neccessary to have any special kind of software?
best regards
Solved! Go to Solution.
01-30-2010 03:16 AM
Hi farashi,
you want to "diliver data near real time approximately in milisecond."
Even a GigaBit-LAN has latencies of 100's of milliseconds...
When searching for a protocol you can read some KnowledgeBase articles to be found at NI's website.
And depending on data volume you may consider using DataSocket for sending data...
02-02-2010 02:17 PM
Farashi-
A real-time system doesn't mean an instantaneous system, or a fast system. It actually means a deterministic system, or a system that you know exactly how long it will take to complete a process. As was mentioned before, even Gigabit ethernet has latency, and that latency is not deterministic.
If you want a real-time system over the network, here is a KB that has the software and hardware setup you would need to do.
http://zone.ni.com/devzone/cda/tut/p/id/4720
Mostly, to accomplish what you want to do, you won't be able to use windows, because there is non-determinism there. You will get latency problems when windows decides to use the processor for something other then your application. For the best real-time systems, look into the Compact FieldPoint of a Compact Rio system that you can deploy your code to.
Scott Wiest
Applications Engineering
National Instruments