To implement Telnet communication in LabVIEW, you can utilize Plink.exe in combination with the JKI .NET System Exec Toolkit which is a third-party toolkit. Please refer to the steps below for guidance on how to perform this implementation.
- For this implementation, I am using a free Telnet server called Telehack. In the picture below, you can observe the list of commands that you can use with Telehack.

-
Next step is to install JKI .NET System Exec from VI Package Manager. Before installation, ensure that the version of the JKI .NET System Exec is compatible with the LabVIEW version installed on your system.

- Install Plink on your system. It is a command line utility used for remote communication. Click on this PLINK 1.9 to download Plink.
-
After JKI .NET System Exec is installed from VI Package Manager, you will be able to find example_cmd.vi. To check this, select Functions palette >> JKI Tools >> JKI .NET System Exec >> Examples >> example_cmd.vi in LabVIEW which is highlighted in the picture below. Please open this VI.

- In example_telnet.vi, navigate to the front panel and specify the location of plink.exe within the working directory. For example, on my system, plink.exe is saved at C:\Connection Test. Also, specify the input for Cmd In on the front panel as plink.exe -telnet telehack.com 23 where telehack.com is the telnet server. After entries are completed, click on Send.

Note: The JKI .NET System Exec Toolkit is a third-party solution not developed or maintained by NI, so NI support is not available for issues related to its use.