08-25-2011 12:47 AM
Our Team uses a TestStand and LabView to run our tests. We have a vi, which telenet to a board/card and reboots it before the start of a test. However at times the board throws out write error and does not accept "reboot" command. Teststand doesn't proceed in such a case untill the reboot is successful and stays that way untill manual intervention . The only way to reboot the board at this time is to type use a Ctrl+x combination from the telnet session. Is is possible to implement this in LabView ?? ( I have tried sending the ASCII equivalent, it doesnt work)
Thank You
Nerissa
08-25-2011 02:24 AM
Hi Nerissa,
You can use the Internet Toolkit to send your commands through LabVIEW. The following link should help you.
http://www.ni.com/support/labview/toolkits/internet/telnet.htm
Regards,
08-25-2011 02:34 AM
Hi Prashant,
We are using telnet vi , and the telnet write vi . We are able to write any text, in this case "reboot", I'm to figure out how to send Ctrl+x.
Regards
Nerissa
08-25-2011 10:23 AM - edited 08-25-2011 10:24 AM
Did you do a search for an ASCII table? For the string you are writing, do you have it set to the correct representation?
08-26-2011 12:59 AM - edited 08-26-2011 01:02 AM
Have you tried converting your ASCII code from byte to string and then using it, as shown in the picture?
Regards,
08-26-2011 03:42 AM
Hi Prashan,
I just tried the solution , you provided or acsii code from byte to string, like you showed. It did not work.
08-29-2011 02:12 AM
Hi Nerissa,
I was trying to set up a similar thing here so that I could try it, but I ran into a few issues.
You should call NI Support. They should help you out.
Regards,