NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

create timeout

I created a sequence where it needs to connect to a server. Can I know how can I create a timeout, if (example) after 10 seconds, it could not connect to the server, it will fail and quit the flow? Thank you!

0 Kudos
Message 1 of 3
(3,135 Views)

Hi Faithict,

 

You will not be able to create a timeout in TestStand itself but you can insert a check in your module code that checks and sends the error back to testand signalling a failure. I hope that this answers your question.

 

Regards,

 

Perry S.

 

 

Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(3,105 Views)

It really depends on what you mean by "connect to a server". How are you connecting? What is the communication's protocol? This isn't really a TestStand question though unless the server you are talking about is one that comes with TestStand, it's really a question related to whatever communications protocol and API you are using to talk to the server.

 

-Doug

0 Kudos
Message 3 of 3
(3,085 Views)