05-13-2008 04:31 PM
Solved! Go to Solution.
05-13-2008 11:23 PM
05-14-2008 09:10 AM
05-14-2008 10:55 AM
05-14-2008 02:10 PM
05-14-2008 02:22 PM
05-14-2008 02:25 PM
05-14-2008 02:49 PM
05-14-2008 05:35 PM
11-03-2008 12:59 PM
Fast foward 6 months! This issue has come up again and it's time to fix it. I have examined the example you mentioned and I think I can modify it to work for me. I'm going to do long-time measurement by iterating the while loop a set number of times. I have already run a modified example that does this and writes it to disk by grabbing 0.5s segments in a while loop, so I know it will work.
However, I need to know if the loop is dropping any bits between iterations. I figured I would place an elapsed time VI both in the measurement/write while loop and in a separate while loop, and see if their values differed. If they did, then in theory I would know how long the while loop "disconnected" between iterations.
But I have two questions:
1. When a while loop completes an iteration, stops, checks stopping criteria, and then starts a new iteration, does the elapsed time VI inside the while loop stop counting from the end of the last iteration to the beginning of the next iteration?
2. This is kind of a dumb question, but my second (just the elapsed time VI) while loop won't run until the first one finishes. This manifests in the fact that the first (measurement/write loop) timer starts and stops on the fron tpanel, then the dedicated timer loop timer starts on my front panel. Am I missing some sort of execution control on my while loop?
Thanks for your time,
Eric