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.
-Sergio
Solved! Go to Solution.
07-09-2012 07:37 AM
Bump?
Anyone?
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.
07-09-2012 10:28 AM - edited 07-09-2012 10:37 AM
I figured it out.
Thank you. I had to create a boolean statement coming out from time has elapsed, going into the reset timer.
11-11-2013 10:06 AM
Hello,
I am new to labview. I have made a vi to record data after every 10 sec. However, my vi is recording data after every 10.9 sec. My vi is using the time from my desktop. Is there any way that I can make my vi to take reading after every 10 sec in place of after every 10.9 sec? I have attached my vi with this post. Kindly help me.
best wishes
11-12-2013 12:32 PM
Hi ramanlvm,
This is an old, answered thread with no discussion.
Could you post this in a new thread?
Regards,
Jordan G.