LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

reinitialise while running

Hi again all!
 
Well, I'm running a VI, a time specific one, and I am having a couple of problems:
 
What I am trying to do is when a temperature reaches a certain level, a timer starts.  This timer carries on for about an hour, and once done the reaction completed boolean lights up, and the on button and power out is turned off. 
 
When this happens, and / or when the reset is pressed (especially when the reset is pressed) the timers reinitialise to default (0).  What happens is the look mlike they reset, but the timer is continuing in the background, and so when the start button is pressed again, the numbers continue. 
 
Now this doesn't sound too bad, but theres another anomily:
 
Once the time count reaches a certain number, I think its around 3000 an something, it returns to 0 and continues counting...so if the start time (I cannot permanently reset this either) is at 2000 and the time needed is 3600 s (1 hour) then say, (assuming the time count resets at 3000 ), then 1000 seconds into the timing sequence the Time Count goes to 0, and the timing sequence then stops at the next 3600, of which it cannot reach. 
          
If the set time is 30 mins (1800 s) then the timing sequence (if started when the start time indicator was  2000) would indeed finish at 1800 on the Time count, but with an extra 1200 seconds added on.

So, how can we reset the Start Time to 0, without it continuing to count in the background, or having to reset the 2020 module?
 
Hope this makes sese.
 
Basicly I want the timers to be reset to 0 every time the start button and / or reset is pressed.
 
Hope you can help!
 
(By the way the vi is named so through frustration..he heh).
 
Steven
0 Kudos
Message 1 of 4
(2,749 Views)
 

Message Edited by fios on 06-29-2006 03:00 AM

0 Kudos
Message 2 of 4
(2,733 Views)
Just a gentle reminder about this post 🙂
0 Kudos
Message 3 of 4
(2,711 Views)
Hi Steven,
 
Can you attach your sub vi's to this forum as well, so that I can take a look at what the whole vi is doing? Or at least explain what each of them does (i.e. what the inputs and outputs are and what they compute)
 
I'll take a look at the problem then
 
Regards
 
Hannah
NIUK & Ireland
0 Kudos
Message 4 of 4
(2,690 Views)