Description
Description-Separate-11. Overview
This example remotely controls and polls data from a target VI on other PC (or localhost).
2. Description
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 th...
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.
3. Requirements
- NI LabVIEW Professional Development System 2012 (or compatible).
4. Steps to Implement or Execute Code
- Download and open the compressed project: "TCP Remote Control LabVIEW 2012 NIVerified.lvproj"
- Open "Example Main.vi"
- Write the Target.vi file path in the VI Path control.
- Leave Machine name blank for localhost, or write the remote machine's IP address.
- Open Target.vi (do not run it)
- Run this VI: "Example Main.vi"
- Click Start/Stop button.
- Click STOP to abort both VIs.
5. Additional Information or References
**The code for this example has been edited to meet the new Community Example Style Guidelines.**
Description-Separate-2