02-26-2015 05:26 AM
Hi all,
I need to work with SSH, telnet and serial port connections with several devices in my sequence, and as conclusion of a search for internet and TestSTand forums, I chose the Extraputty.dll to solve the problem, and after some months in my opinion works quite well.
However, I need send instrucciones like ctrl+c in any of the previous connections.
I have tried differents strings (<CTRL>C,\x05,^c) in the parameter Command of the Send-Retreived data Step of Extraputty but nothing.
Any reference or idea?
If you know another method different to Extraputty to realize this connections is welcome too but I don't have LabView.
Thanks in advance.
Pablo M.
02-26-2015 01:54 PM
05-16-2019 04:28 AM
I wish I could give the original poster a thousand negative kudos for not posting his solution. Truly the worst of Internet etiquette.
Since I cannot, I will post my solution. You need to change the "Settings" parameter in the "Send-Received data" step to 2, and then in the command enter "<CTRL>C", including the comment, since it is a string.
By applying '2' to the "settings" parameter you enable special commands, listed here: http://www.extraputty.com/htmldoc/AppendixA.html
It is explained in 7.2.2.2 of the manual http://www.extraputty.com/htmldoc/Chapter7.html.
"Settings Bit fields of settings (2^0 : CRLF (0 send,1 not send),2^1 : Virtual key codes (0 no virtual key codes in command,1 yes)...reserved)"
05-16-2019 05:24 AM
A lot of thanks, your answer is very usefull! I really appreciate it.
Best regards