Overview
This example VI shows how use the Telnet vi to send a message to another computer that is listening for a telnet message.
Description
This Example include two VIs one named "Open Sender.vi" the other named "Listener.vi". Each one should run at different computers. Once the listener receives the message it resends the received message back to the sender.
Ensure the example can run successful, the computer running "Open Sender.vi" should enable VI server (Go to Tools » Options » VI Server enable TCP/IP and under Machine Access add the IP address of the target computer the Listener will be on). And the computer running "Listener.vi" should also enable VI server (Go to Tools » Options » VI Server enable TCP/IP and under Machine Access add the IP address of the target computer the Listener will be on).
Requirements
Steps to Implement or Execute Code
Additional Information or References
VI Block Diagram of "Open Sender.vi"
VI Block Diagram of " Listener.vi"
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
can it work in different network , just as one IP address is 10.200.253.1 and another IP address is 10.200.254.2 ? thanks!
Hey awang,
Yes this program will communicate with another IP address, but remember you have to add the IP to the computer you are communicating with to the VI servers allowed computers.
Cheers
BeauH