LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Send file with TCP/IP

I would like to transfer a complete file with TCP/IP form a client to a server. I have a working example of using the TCP protocol to transmit data (as a string). I attached this Client-VI to this posting. The server program does nothing more than send the received data back to the client. Is it possible to send complete files with TCP/IP instead of sending strings? If so, would you be so kind and change my VI into a new one and send it back to me?
If somebody has another idea to solve this problem, feel free to contact me!

I use LabVIEW 7.0Express and WindowsXP.


Thnaks, Dennis
0 Kudos
Message 1 of 3
(3,001 Views)
If you want to send a file, you can do it with the file vis (if you can access to it like in the browser).

If you cannot, the easiest way is to do it via FTP.
Doc-Doc
http://www.machinevision.ch
http://visionindustrielle.ch
Please take time to rate this answer
Message 2 of 3
(2,996 Views)
Hi,

I have a set of Vis that do the job. It's a LV5 Vi and I haven't translated it yet to LV7. It's two SubVis and two Vis that show you how to run the SubVis. The client asks a file that is in the server and the server sends it back. I'm attaching the two libraries llb, the client library and the server library. Please contact me if you have questions.

Marce
Message 3 of 3
(2,956 Views)