LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to access the data in the remote pc with labview and crosscable

how to access the data in the remote pc with labview and crosscable
0 Kudos
Message 1 of 7
(3,580 Views)
I recommend you post a few more details about your application.
 
Are both PC's running Labview programs?  What is each doing?
 
Your crossover cable, are you talking a crossover ethernet cable or a crossover serial cable?
 
If you are using a serial cable, then VISA read and writes will do the job with appropriate Labview code on each PC to handle the communication.
 
If it is an ethernet cable, you can use TCP/IP functions, UDP, network published shared variables. .....
0 Kudos
Message 2 of 7
(3,562 Views)

Thanks for your reply,

i am going to use  ethernet crosscable. using tcp/ip i can send data to one computer. i want to access the remote pc's d drive .help me in doing so.

 

Regards,

J.Venkatesh

0 Kudos
Message 3 of 7
(3,545 Views)
That's all OS setup.  You need to share the D drive on the network and confirm that the other computer can see it through your OS.  You can either map the remote PC's D drive to a drive letter on your local machine or access it directly with something like \\remote-pc\d where remote-pc is the name or IP address of the remote PC.  In LabVEW, you just use paths to reference the shared drive.

I would suggest using Google to search for these instructions for your OS.  You will have to get it working in your OS before you worry about the LabVIEW side of things.
0 Kudos
Message 4 of 7
(3,543 Views)
Thanks for ur reply.
 
I will try that.
i created a server and a client vi for chatting .The problem is before starting the client vi  it is very much required to start the server vi  (otherwise it throughs an error).help me doing it independently.(if a client wants to chat with a server he should be able to do it and viceversa.)thanks
 
Regards,
J.Venkatesh 
0 Kudos
Message 5 of 7
(3,540 Views)
Thanks for ur reply.
 
 
i created a server and a client vi for chatting .The problem is before starting the client vi  it is very much required to start the server vi  (otherwise it throughs an error).help me doing it independently.(if a client wants to chat with a server he should be able to do it and viceversa.)thanks
 
Regards,
J.Venkatesh 
0 Kudos
Message 6 of 7
(3,523 Views)


venkateshge wrote:
Thanks for ur reply.
 
I will try that.
i created a server and a client vi for chatting .The problem is before starting the client vi  it is very much required to start the server vi  (otherwise it throughs an error).help me doing it independently.(if a client wants to chat with a server he should be able to do it and viceversa.)thanks
 
Regards,
J.Venkatesh 


TCP/IP is not designed nor able to be an RPC protocol in itself where you could launch the server from the remote side. The server has to be basically started always by some means like autostarting or manual starting by the user. A good TCP/IP server is supposed to just run all the time and wait for clients to connect to it.
 
However you could enable the VI server in your LabVIEW program. This is also TCP/IP based so you will have to start your LabVIEW program somehow too before you can connect to it, but once it is started you can control that LabVIEW instance over the network through VI server functions. Best part is you can test it locally too by not applying any TCP/IP address when opening an application reference. And once you think it works you distribute the client to the other computer and test it remotely.
 
Rolf Kalbermatter


Message Edited by rolfk on 12-14-2007 11:49 AM
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 7 of 7
(3,504 Views)