Virus scan in progress. Please wait to download attachments.
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. http://www.ni.com/white-paper/2710/en/ 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.
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.