LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to interface windows telnet or putty or plink software with LabVIEW

Solved!
Go to solution

Please find the attched screen screenshot of the problem that am facing here.

 

Problem is, am able to open the telnet session using IP address of the UNIT. But after that am not able to send commands or arguement to putty or plink.

 

System Exec is not accepting the standard input.

 

In the screenshot plink.exe started working only after sending enter to it manually... and after getting the prompt ">" if I send "SEND" command to plink.exe it replies back with data from Unit.

 

Here I am not able to automate this sending Enter and SEND command to get the data from Unit.

 

It will be grateful if anyone give me a solution.

 

Thanks

Vijay

 

 

0 Kudos
Message 1 of 5
(12,724 Views)

Hi!

To handle Telnet sessions I'd suggest to use the Telnet VIs provided with the Internet Toolkit.

Have a look here: http://zone.ni.com/reference/en-XX/help/370014D-01/internet/telnet_vis/

 

Marco

0 Kudos
Message 2 of 5
(12,712 Views)

Even I tried with with LabVIEW Telnet VI's. It doesn't helped me much.

 

Pls find the attachment with this.

Download All
0 Kudos
Message 3 of 5
(12,704 Views)

Hi!

Can you post a LV8.6 version of your VIs?

Thanks in advance,

Marco

0 Kudos
Message 4 of 5
(12,698 Views)
Solution
Accepted by topic author Vijay@M

I solved this with Telnet VI's by appending \r\n for all commands that we send to Unit.

 

Pls find the attached final VI in LabVIEW 8.6

 

Regards

Vijay

0 Kudos
Message 5 of 5
(12,685 Views)