Showing results for 
Search instead for 
Did you mean: 

data socket transfer data between two computer

Go to solution


 I have developed a labview program for data acquisition goal.  i need to run one part of my program in one computer and another part of that in other distinct computer. for transfering data between these two computers i have decided to use of data socket protocol. one computer gather data and send data to second computer and second computer will control data acquisition parameter in first computer. now i have developed program but it dosn't work. i wonder if this is enough to connect these two PCs by a network cable together or something else must be done. of course i have some trouble with defining source in data socket protocol. what it must be in two labview program in two distinct computer.


best regards.



0 Kudos
Message 1 of 8
Start the Datasocket Server on both computers.
0 Kudos
Message 2 of 8
Accepted by topic author farashi

the problem solved.

for data socket transfer ,it is sufficient to connect two computers with a LAN cable as i had done. The problem was because of the URL setting. i had mistake as follow:

==> in main program and remote program, the URL must be the same and the name of computer that data socket server is running must be incloded in both URL. ( my mistake was that i had used two different URL in main and remote program). by the way i understood that it is not neceessary to run data socket server in both computer.but only the one which send data.




Message Edited by farashi on 02-26-2010 08:04 AM
0 Kudos
Message 3 of 8


i have some problem in transfering data berween two computers.can u help me out plz.

my email id

0 Kudos
Message 4 of 8



Can you please provide some more information about what you are trying to do and how you are trying to do it?


Assuming you are trying to DataSocket to communicate you should find the following article and example helpful.


Communicating Two VIs in Two Computers Using DataSocket Instead of Shared Variables


DataSocket Tutorial

Scott A
SSP Product Manager
National Instruments
0 Kudos
Message 5 of 8

error 63  is occuring when same url is given on both the pcs

0 Kudos
Message 6 of 8



You might consider creating a new thread and providing more information about your application. Generally people are more responsive to new threads and being able to understand the whole problem is often very helpful. If you feel like the information in this thread is relevant you can link it to your new thread but I would also advise sumarizing the steps you've taken and the problems you are still seeing.



Alex W.
0 Kudos
Message 7 of 8

Hi, Could I ask to identify the computer name?

0 Kudos
Message 8 of 8