LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

datasocket connection

dear sir,
 
I want to set datasocket connection between two computers. These both computers are in same local network. Now my first vi is running using dsc module on first computer. Now i want to read these same parameters on second computer which are accessed by first computer. Please suggest me that what setting i have to make to create datasocket connection.
 
 
vijeta
0 Kudos
Message 1 of 6
(4,377 Views)

Hi Vijeta,

What software version are you using and what software is installed on the second machine? Are you using shared variables? There's a tutorial on Datasocket which explains the technology.

If you provide more information about your requirements I can provide you with information that's more specific to your application.

Message Edited by SarahB on 09-20-2007 11:06 AM

Sarah

Applications Engineer | National Instruments | UK & Ireland
0 Kudos
Message 2 of 6
(4,358 Views)
thanks
 
i am having labview 7.0 with installed on both computer which are on same network. Now i want to make datasocket connection between these two computers.
 
Here my application is that my opc server is running on one pc and i want to see the same parameters on another pc .Is it possible?  if yes by using datasocket  please suggest how can i implement that.
 
vijeta 
0 Kudos
Message 3 of 6
(4,324 Views)
Hi Andheri,
 
You can use DataSocket to communicate between the two computers without the OPC server.  Please take a look at DS Read.vi and DS Write.vi in the Example Finder.
0 Kudos
Message 4 of 6
(4,295 Views)
Dear sir,
 
 i am not getting exact idea how can i make one pc as server and other as client ? Also how can i read data from one pc using datasocket .
 Please give me steps to do communication using datasocket
 
 
thanks
0 Kudos
Message 5 of 6
(4,274 Views)
Hi Andheri,
 
1) Please open LabVIEW and go to Tools >> Example Finder.
 
2) Click on the Search tab and type in DataSocket.
 
3) Please open DS Reader.vi and DS Writer.vi.
 
4) Run both of the VIs and you will see that information is transferred between the two VIs.
 
5) You can then change the target and source controls so that you communicate between two computers.
0 Kudos
Message 6 of 6
(4,192 Views)