07-13-2010 03:32 AM
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
Solved! Go to Solution.
07-13-2010 03:39 AM - edited 07-13-2010 03:39 AM
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
07-13-2010 03:59 AM
Even I tried with with LabVIEW Telnet VI's. It doesn't helped me much.
Pls find the attachment with this.
07-13-2010 04:14 AM
Hi!
Can you post a LV8.6 version of your VIs?
Thanks in advance,
Marco
07-13-2010 06:32 AM
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