Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

elapsed time auto reset

Solved!
Go to solution

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

 

 

0 Kudos
Message 1 of 6
(11,363 Views)

Bump?

Anyone?

0 Kudos
Message 2 of 6
(11,346 Views)
Solution
Accepted by topic author Selp

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.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 3 of 6
(11,345 Views)

I figured it out.

Thank you. I had to create a boolean statement coming out from time has elapsed, going into the reset timer.

 

Message 4 of 6
(11,340 Views)

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

0 Kudos
Message 5 of 6
(10,611 Views)

Hi ramanlvm,

 

This is an old, answered thread with no discussion. 

 

Could you post this in a new thread?

 

Regards,

Jordan G.

 

 

 

LabVIEW Product Marketing Engineer
National Instruments
0 Kudos
Message 6 of 6
(10,590 Views)