To download NI software, including the products shown below, visit ni.com/downloads.
This example remotely controls and polls data from a target VI on other PC (or localhost).
Set of VI's INIT, RD_WR, CLOSE to remotely control and poll data from client VI on other PC (or localhost).
Client VI does not need any modifications to be controlled. Server and client can be different LabVIEW version.
Internet Protocol (IP), User Datagram Protocol (UDP), and Transmission Control Protocol (TCP) are the basic tools
for network communication. The name TCP/IP comes from two of the best-known protocols of the internet protocol
suite, the Transmission Control Protocol and the Internet Protocol. With TCP/IP you can communicate over single
networks or interconnected networks (Internet).
Use the TCP/IP functions located on the Functions»Communication»TCP palette for TCP communication in LabVIEW. As
with DAQ, instrument, and File I/O communication, the process involves opening the connection, reading and writing
the information, and closing the connection.
4. Steps to Implement or Execute Code
5. Additional Information or References
**The code for this example has been edited to meet the new Community Example Style Guidelines.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.