06-16-2008 10:43 AM
06-17-2008 08:01 PM
Hi George, I have been playing with the code that you have posted and I think I am seeing what your concern is with regards to the first problem that you stated. Without running the code I would expect both internal and external timing to cause the VI to run in the exact same manner, however obviously that is not the case. I am currently looking into this behavior and I will post you a response as soon as I have an answer for you.
As for the second problem, If you look at the manner in which you have coded this VI, a 1ms wait in the first frame will lead to a calculation of 1999ms wait in the second frame, and thus 5 iterations of 1999ms or about 99,995ms total running time. If you increase the wait in the first frame to say 50ms, then an overall all wait of 1950ms is calculated in the second frame so not the overall iteration time is now 1950 which, over 5 iteration leads to 99,750ms thus as you increase the wait in the first loop the overall loop duration will be less. This is expected behavior.
Again I will post back once I have a clarification on the internal vs external timing.
Chris_K
06-18-2008 07:29 AM
Start—Specifies the time the next frame must start executing. Specify a start time value relative to the start time of the current frame in units of the frame timing source.It seems that you took it to mean the timing of the overall frame. Which is correct? If your intrepretation is correct, then how can I do what I wanted which is this - delay a specified amount of time for the whole sequence regardless of how long it takes the first frame to execute (within boundaries of course).
06-19-2008 07:56 PM
06-20-2008 02:32 PM