08-13-2009 12:19 PM
When the deadline is not specified (i.e. set to -1), what is the default deadline that will set the Finished Late? [i-1] flag to true?
Solved! Go to Solution.
08-13-2009 12:22 PM
-1 means that there is no time-out.
It is similar to the time-out except it does not stop execution.
08-13-2009 12:39 PM
Here's what context help says :
08-13-2009 12:50 PM
I understand that, but the Finished Late [i-1] flag will still be set sometimes, even when no deadline is specified.
So, I would like to know: what is determining if the Finished Late [i-1] flag is set or not set when no deadline is specified?
08-13-2009 02:09 PM
08-13-2009 04:43 PM
Thanks. That is what I was guessing.
However, it seems strange b/c it appears that the period and deadline are almost the same for the case in which you do not have frames within the timed loop. Is this correct?
The above would mean you only need to use the deadline if you have frames within a timed loop.
Let me know if this seems correct.
08-13-2009 05:11 PM
Yes. But I can also envision a case where let's say the period is 1000 milliseconds, but the deadline is 200 milliseconds.
So you want the loop to iterate every second, but you want the code inside to complete within 200 milliseconds, and if it doesn't, then signal it was late.
08-13-2009 05:43 PM
OK. That's good to know. It changes my understanding.
The period is how long the loop will take to execute.
The deadline time compares against the time it takes to execute all the code inside the timed-loop.
period = time to execute code + empty fill time
Is this correct?
08-13-2009 05:54 PM