08-10-2009 01:05 PM
Hello all,
I have two functions in the specified order:
DoTest1();
Delay(6.0); // delay for 6 seconds.
DoTest2();
After doing DoTest1() function, my intent is to delay for 6 seconds before doing DoTest2() function. However, Delay(6.0) also stops test system from generating 1 second timer pulses to UUT and prevents UUT from working. I realized that when I replaced "Delay(6.0) with "MessagePopUp" function and I tell the operator to wait for 6.0 seconds, it works (or test passes).
My question is "Is there a function which would cause a delay for a specified amount of time before doing a specific task but still not hinder other activities from taking place?"
Your help would be appreciated.
Thank you.
Robert Mensah
Solved! Go to Solution.
08-11-2009 07:36 AM
08-11-2009 11:35 AM
08-11-2009 12:28 PM
Hello Stanley,
Thank you very much for your immediate reply. Your code worked beatifully. Thanks again.
Robert Mensah
08-31-2015 11:32 PM
I am writing multi thread programming. One thresd has to be excuted inspite of using "Delay(0.5);" function. Will this Delay fucntion stop the other tread too?
09-10-2015 06:02 AM
hello kumar
if you use delay your other task is not executing.