05-03-2007 08:56 AM - edited 05-03-2007 08:56 AM
function sendCommands( String address, String commands ) {Socket sock = connect( address, 23 ) // 23 is TelnetString[] commandsArray = commands.split( "\n" )String responses = ""for( i = 0 ; i<commandsArray.length ; i++ ) {send( sock, commandsArray[i] )String currentAnswer = receive( sock )responses = responses + currentAnswer}return responses}
Attached the current version of my work. Comments are in french, I can translate if needed ![]()
Thank you
Message Edited by alitokmen on 05-03-2007 08:57 AM
05-07-2007 04:06 AM
Richard Keromen
05-09-2007 04:38 AM
Hello
Thank you for your message: it has been very helpful for me. I've therefore done a new version of the VI.
I'm also attaching it, just in case someone else needs it.
Comments are still in french 🙂