Example Code

Sending files through TCP/IP with LabVIEW

Code and Documents

Attachment

This example transfers files between two VIs using TCP commands in LabVIEW. The TCP File Server VI opens the selected file, reads the data, and sends it to the TCP File Client VI. The TCP File Client VI receives the data and saves it with the original name and extension.

To Run these VIs:
Open the TCP File Server VI
Select the file to send
Open the TCP File Client VI
Run the server first and then the client

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors