I have a clock VI that I attached to several other VIs to keep track of running times but for some reason the clock stops at 24 minutes. Why?

I got this VI form a member of the forum. He used it for the same reason so I figured that it worked. I can't seem to fine the reason that it stops at 24 minutes. Could it been something on my computer stopping it. But I have run this VI on several PCs and got the same results.
Attachments:
CLOCK.vi ‏40 KB

I am not sure what the VI is supposed to be doing. It seems like it will keep track of time it takes to execute x (=3600xNumeric+1) numbers of iterations. How long it takes depends on the system. If the VI runs slower on a particular system, it will take longer to execute the same number of loop iterations than on another station. For example, on my machine it took 6 min to execute the VI with Numeric=1. Another factor is the wait time set in the loop to =100. I don't see anywhere this taken into the consideration.
I am sending you another VI that counts the time from the start of execution until the Stop button is pressed. Of course, you can replace the Stop button with a condition that suites your needs.
Hope this helps.
Zvezdana S.
Attachments:
Timer.llb ‏51 KB

Similar Messages

Maybe you are looking for