LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TCP/IP communication

Hi everyone, i'm still new to labVIEW.
Can anyone tell me how i can transfer excel files to a remote PC through LAN? I've read the Basic TCP/IP communication manual and i am still confused.
 
Thanks! 
0 Kudos
Message 1 of 6
(3,375 Views)
I would use a communication that the operation system supports. With Windows you can share a directory on the remote PC. There is an entry in the context menu of a directory. You provide a name to the share and may restrict the access. The help of Windows should help further.
The shared directory is accessible from other computers now. The path to save the Excel file is: \\remote\share\Excelfile.xls
(remote: name of remote computer, share: name of share, Excelfile.xls: name of the Excel file)
 
I hope this helps.
Greetings
shb
 
0 Kudos
Message 2 of 6
(3,367 Views)
Ya, but if i want to use labview for transferring? Like adding a button in e front panel, after that when i press it, it will start the transferring...Do i still hav to build the client and server vi??
 
Thanks alot!
0 Kudos
Message 3 of 6
(3,348 Views)
Yes, you would need both a client and server program. If you just want to transfer a file with the click of a button, then you can use the built in Copy function to copy it to a shared folder on a network drive. Then you would not have to write a client program and have it running all of the time on the remote pc. You just let the OS handle everything.
0 Kudos
Message 4 of 6
(3,343 Views)

Is there any sample programs using TCP/IP i can take a look at? Do u write a server program at e server PC and client program at e client PC, or both on the same server PC?

Thanks again!

Message Edited by HMeiz on 04-29-2007 08:30 PM

0 Kudos
Message 5 of 6
(3,305 Views)

HMeiz:

There are multiple examples in the LabVIEW Example Finder which can be accessed by going to Help >> Find Examples. They provide basic information on how to send data between a server and a client. You can also check out this document. I hope it helps.

Regards,

Rudi N.

0 Kudos
Message 6 of 6
(3,278 Views)