LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Timer Reset to Zero?

We are using Labview 8.5 and a Keithley DAQ system. Measurements are being taken and written to a spreadsheet. We have a boolean button that we push and starts a case structure to take steady state data (temperature readings). We are having trouble getting the elapsed time timer to reset to zero after 60 seconds. The elapsed time will keep reading from when the button was last pushed and we would like to have it start at zero each time the button is pushed. Thanks for any help.


Message Edited by Jesse Campbell on 05-30-2008 10:45 AM
0 Kudos
Message 1 of 6
(8,363 Views)
Hi Jesse,

I didn't use the elapsed time vi, but would something like this work for you?


0 Kudos
Message 2 of 6
(8,351 Views)
Sorry I attached the jpg, not the Vi, so you can's see the other half of the case statement.Smiley Tongue  Attachemnt is in LV 8.2.
Message 3 of 6
(8,349 Views)
Since the default behavior of the elapsed time function is to auto reset when the target has been reached, you should really post your code so someone can see what you've done to change the behavior.
0 Kudos
Message 4 of 6
(8,339 Views)
Here is the original code. The elapsed timer inside the case structure holds the elapsed time value since the start steady state data button has been pressed.
0 Kudos
Message 5 of 6
(8,320 Views)
Of course you don't see the value change. You have the indicator inside the case statement and that code stops running/updating the indicator as soon as the case becomes false. Just move the indicator outside the case statement if you want to false case to set the indicator to 0.
0 Kudos
Message 6 of 6
(8,308 Views)