LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to reboot a card using TestStand and LabView

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

0 Kudos
Message 1 of 7
(3,011 Views)

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,

Prashanth N
National Instruments
0 Kudos
Message 2 of 7
(3,003 Views)

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

0 Kudos
Message 3 of 7
(3,000 Views)

Did you do a search for an ASCII table? For the string you are writing, do you have it set to the correct representation?

0 Kudos
Message 4 of 7
(2,991 Views)

 

Have you tried converting your ASCII code from byte to string and then using it, as shown in the picture?

 telnet.JPG

 

Regards,

Prashanth N
National Instruments
0 Kudos
Message 5 of 7
(2,975 Views)

Hi Prashan,

 

I just tried the solution , you provided or acsii code from byte to string, like you showed. It did not work.

 

0 Kudos
Message 6 of 7
(2,966 Views)

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,

Prashanth N
National Instruments
0 Kudos
Message 7 of 7
(2,941 Views)