07-06-2012 10:55 AM
I have attached a simple VI.
In essence, is an inspection table.
The first loop (while loop) within the four sequences works fine. When the second loop begins, the zaber motor gets the command to come back home, as soon as the motor comes back home, signal travels to the second sequence at this point, the timer in the "elapsed timer" was never reset, therefore the signal travels and it sees that the specified time has already elapsed (in this case 5 seconds), and the signal is sent straight to the third sequence, thus never really running through the second sequence.
I need the timer to reset to zero everytime the program is going to repeat itself (while loop), such that every loop the timing has been reset. It seems that the auto reset option is not working properly for my needs, or im not using the right programs. I tried using bolean iterations, as well as mathematical computations, but they dont seem to be working.
Any help would be greatly appreciated.
Solved! Go to Solution.
07-09-2012 10:09 AM
You are using the wrong input. You should be using the Reset input, not the Auto Reset. The Auto Reset means the timer will reset once it reaches a certain time. Reset will, well, reset your timer.