10-16-2007 02:21 PM
10-16-2007 04:02 PM
@Conor wrote:
I am having some difficulty with timing inside of a timed loop. Inside of a timed loop with a 1000ms period, is there a way to change a T/F signal at varying amounts of time after the beginning of the first iteration of the timed loop. For example, if the timed loop is stopped after 60 seconds (60 one second iterations), how do I time and change a boolean at say 1 second, 2.5 seconds or 3.05 seconds without slowing the process of the timed loop?
I cannot figure out what you actually want. Once the timed loop is stopped, you cannot slow the process of the timed loop. Of course you can always keep track of time and insert <1s delays inside your timed loop at appropriate intervals. For example, you could get the elapsed time and switch the boolean immediately at the start of iteration 1 (=1 second), 0.5 second into interation 2 (2.5seconds) and 0.5 seconds into interation three (3.05 seconds). Depending on what else executes at each iteration, this may be more or less accurate.
Maybe you should run your T/F output in a parallel loop with it's own timing.
Can you attach a simplified example VI of what you are trying to do?
10-17-2007 02:30 PM
10-18-2007 02:06 PM
10-18-2007 04:16 PM
10-19-2007 01:17 PM