07-30-2012 10:41 AM
Hello,
I have a timed loop measuring a resistance value every 2 seconds. I would like to have this timed loop execute for a specified amount of time (e.g. 5 minutes). The timed loop itself is placed within a flat sequence structure so I am concerned that the measurement will be taken once and the next frame will begin to execute, without waiting 2 seconds for a successive reading (and not looping for, say, 5 minutes).
In other words, is it possible to have a frame of a flat sequence structure execute for a specified amount of time before moving onto the next frame?
Thanks for your assistance!
JFK_Aero
Solved! Go to Solution.
07-30-2012 10:51 AM
All code in one sequence frame must complete before the next frame can execute. So as long as your timed loop is setup correctly, the next frame cannot run until your 5 minutes is up (N = 5 minutes/2 seconds/measurement = 150 measurements).
07-30-2012 10:53 AM
I have no idea why you are using a sequence structure or why you are asking if you can have a frame execute for a certain time. You say you have a timed loop and with that, you specify how long it should run. Get rid of the sequence structure and let data determine execution order.
07-30-2012 11:44 AM
Thanks a lot, I think what you've suggested will suffice.
Cheers