01-11-2021 06:01 AM
Hello, I would like to send commands to an instrument on the network through the telnet program that runs with the CMD. I have enabled telnet on windows 10 and when I send the command telnet IP (192. *** .- ***. ***) on CMD it opens my program and I would like labview to send my lines of command on telnet. do you have an idea?
01-22-2021 02:40 AM
Hi,
I think this might be useful:
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000kH2QSAU&l=en-GB
01-22-2021 07:34 AM - edited 01-22-2021 07:36 AM
I just use the standard TCP/IP functions to send commands and receive data from a Telnet device. The only weird part I had to do, because of one device I started using, was to handle Option Codes. This involved using Match Regular Expression to search for Operation Codes in the received data and replying to those codes that were found (see below). Everything else was just simple TCP Write and TCP Read.
